/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

body {
    font-size: 1em;
    line-height: 1.4;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
    color: #2e3092;
}

a{
    color: #2e3092;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

/* Layout BEGIN */

.globalWrapper{
    min-height: 100px;
    width: 1018px;
    margin: 0 auto;
}
header{
    height: 228px;
}
.personnel{}
.carouselRow{}
#page{
    padding: 1px 0 50px;
}
#page > aside.left{
    float: left;
    width: 252px;
}
#page > #content{
    width: 766px;
    margin-left: 251px;
}

/* Layout END */

/* Borders code BEGIN */

.borderAngleTopLeft{
    background: url(../img/frame/border-angle-top-left.png) 0 0 no-repeat;
    height: 100%;
}
.borderAngleTopRight{
    background: url(../img/frame/border-angle-top-right.png) 100% 0 no-repeat;
    height: 100%;
}
.borderAngleBottomLeft{
    background: url(../img/frame/border-angle-bottom-left.png) 0 100% no-repeat;
    height: 100%;
}
.borderAngleBottomRight{
    background: url(../img/frame/border-angle-bottom-right.png) 100% 100% no-repeat;
    height: 100%;
    position: relative;
}

.borderColLeft{
    background: url(../img/frame/border-col-left.png) 0 0 repeat-y;
    width: 17px;
    position: absolute;
    top: 7px;
    bottom: 13px;
}
.borderColRight{
    background: url(../img/frame/border-col-right.png) 0 0 repeat-y;
    width: 17px;
    position: absolute;
    top: 18px;
    right: 0;
    bottom: 13px;
}
.borderColTop{
    background: url(../img/frame/border-col-top.png) 0 0 repeat-x;
    height: 6px;
    position: absolute;
    left: 8px;
    right: 12px;
}
.borderColBottom{
    background: url(../img/frame/border-col-bottom.png) 0 0 repeat-x;
    height: 13px;
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
}

.borderArea{
    bottom: 11px;
    left: 6px;
    position: absolute;
    right: 10px;
    top: 5px;
}

/* Borders code END */

/* Header BEGIN */

header .borderArea{
    width: 1002px;
    height: 216px;
    border-bottom: 1px solid #c5c5e4;
    top: 0;
}

.borderArea .leftBorder{
    background: url(../img/border-area-left-and-right.png) 0 0 no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
}
.borderArea .rightBorder{
    background: url(../img/border-area-left-and-right.png) 0 0 no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
}
header .borderColLeft{
    top: 0;
}
header .borderColRight{
    top: 0;
}
.areas{
    position: relative;
    margin-top: 0;
    padding-left: 0;
    z-index: 50;
}
.topArea{
    background: url(../img/header-bg.jpg) 1px 0 no-repeat;
    width: 1000px;
    height: 99px;
    padding: 76px 0 0 1px;
    position: relative;
    display: block;
}
.centerText{
    background: url(../img/header-center-text.png) 0 0 no-repeat;
    width: 514px;
    height: 91px;
    padding-left: 6px;
    margin: 0 auto;
}
.leftFlag{
    background: url(../img/header-left-flag.png) 0 0 no-repeat;
    width: 105px;
    height: 116px;
    position: absolute;
    top: 6px;
    left: 18px;
}
.rightFlag{
    background: url(../img/header-right-flag.png) 0 0 no-repeat;
    width: 104px;
    height: 117px;
    position: absolute;
    top: 2px;
    right: 25px;
}
ul.mainMenu{
    background: url(../img/main-menu-bg.png) 0 0 repeat-x;
    height: 40px;
    border-top: 1px solid #cacae6;
    margin: 0 1px;
    list-style: none;
    display: block;
    padding: 0 13px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
ul.mainMenu > li{
    width: 24%;
    text-align: center;
    position: relative;
    z-index: 0;
    height: 40px;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    _height: 40px;
}
ul.mainMenu > li > a{
    display: block;
    padding-top: 8px;
    height: 32px;
    position: relative;
}
ul.mainMenu > li > ul{
    background: #fff url(../img/sub-menu-vertical-bg.png) 0 0 repeat-x;
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: -1px 0 0;
    padding: 27px 0 11px;
    border: 1px solid #d1d1e7;
    z-index: -1;
    display: none;
    font-size: 12px;
}
ul.mainMenu > li:hover > ul{
    display: block;
}
ul.mainMenu > li > ul > li{
    margin-top: 18px;
}

/* Header END */

/* Personnel two cols under header BEGIN */

.personnel{
    padding-top: 5px;
    height: 136px;
}
.person{
    float: left;
    width: 505px;
    height: 138px;
}
h3.person{
    float:none;
    width:auto;
    height:auto;
}
.person.right{
    margin-left: 8px;
}
.person .borderArea{
    background: url(../img/person-bg.png) 0 0 repeat-x;
    border: 1px solid #c0c1e4;
}
.person .content{
    padding-top: 10px;
}
.person .content img{
    border: 1px solid #2e3092;
    float: left;
    margin-left: 39px;
}
.person .content .text{
    float: left;
    margin-left: 12px;
}
.person .content a.h3{
    display: block;
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: bold;
}
.person .content p{
    font-size: 11px;
    line-height: 1.2em;
    margin: 12px 0 0;
}

/* Personnel two cols under header END */


/* Carousel row with two menus BEGIN */

.carouselRow{
    padding-top: 9px;
    height: 364px;
}
.carouselRow .borderArea{
    background: url(../img/carousel-menu-bg.png) 0 0 repeat-x;
    border: 1px solid #c0c1e4;
}
.carouselRow .borderArea>ul{
    padding: 0;
    margin: 0;
}
.carouselRow ul.menu{
    width: 249px;
    height: 327px;
    float: left;
    list-style: none;
    padding-top: 8px;
}
.carouselRow ul.menu.right{
    float: right;
}
.carouselRow ul.menu > li{
    display: block;
}
.carouselRow ul.menu > li a{
    font-size: 12px;
    width: 100%;
    display: block;
    text-align: center;
    height: 24px;
    /*border-bottom: 1px solid #D1D1E7;*/
    border-bottom: 1px solid #C0C1E4;
    padding-top: 5px;
}
.carouselRow ul.menu > li.last a{
    border-bottom: none;
}
#carousel{
    width: 491px;
    height: 339px;
    border-right: 1px solid #d1d1e7;
    border-left: 1px solid #d1d1e7;
    margin: 0 249px;
    background-color: #fff;
    padding: 7px 0 0 9px;
}
#carousel .screen{
    position: relative;
    overflow: hidden;
    height: 318px;
    width: 483px;
}
#carousel img{
    position: absolute;
    display: none;
    z-index: 10;
}
#carousel .text{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background-color: #fff;
    opacity: 0.7;
    text-align: right;
    padding: 19px 23px 0 0;
    font-size: 14px;
    display: none;
    z-index: 20;
}
#carousel img.active{
    display: block;
}
#carousel .text.active{
    display: block;
}

/* Carousel row with two menus END */

/* Sidebar Block and Content block Template BEGIN */

.sideBlock{}
.contentBlock{}

.sideBlock .borderArea,
.contentBlock .borderArea{
    border: 1px solid #bdbee2;
    position: static;
}
.sideBlock .gasket,
.contentBlock .gasket{
    padding: 5px 10px 11px 6px;
    position: relative;
    z-index: 100;
}
.sideBlock .header{
    background: url(../img/sidebar/header-bg.png) 0 0 repeat-x;
    height: 40px;
    border-bottom: 1px solid #d2d2e7;
}
.contentBlock .header{
    background: url(../img/content/header-bg.png) 0 0 repeat-x;
    height: 40px;
    border-bottom: 1px solid #d2d2e7;
}

.sideBlock .header h4{
    font-size: 12px;
    margin: 0;
    padding: 13px 0 0;
    text-align: center;
}
.contentBlock .header h3,
.contentBlock .header a.h3{
    font-size: 14px;
    margin: 0;
    padding: 11px 0 0;
    text-align: center;
    display: block;
    font-weight: bold;
}
.sideBlock .body{
    text-align: center;
}
.contentBlock .body{
    margin: 0 20px;
    font-size: 11px;
}
/* Sidebar Block and Content block Template END */


/* TEMP Content BEGIN */

.sideBlock .body{
    text-align: center;
    padding-bottom: 20px;
}
.sideBlock .body img{
    display: block;
    margin: 0 auto;
}
.sideBlock .body strong{
    font-size: 12px;
    font-weight: bold;
    display: block;
}
.sideBlock .body .margin{
    margin: 0 20px;
}
.sideBlock .body .more{
    font-size: 10px;
    color: #2d31f5;
    float: right;
    margin: 20px 30px 20px 0;
}

.sideBlock .body hr{
    background-color: #d2d2e7;
    border: 0;
    clear: both;
}

#form493 input,
#form493 textarea{
    border:1px solid #000;
}

/* TEMP Content END */

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.tagcloud--2 li a {
    font-size: 15px;
    font-weight: bold;
}
