/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    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;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body, a { 
    font-family: 'montserratregular', Arial, sans-serif; 
}

body p {
    font-size: 0.875em;
    color: #4c4c4c;
}  

h1 {    
    font-size: 1.5em;
    color: #3C465F;
    margin-bottom: 1.5em;
}

h2 {
    font-size: 1.875em;
    color: #2A4067;
}

h3, h4, h5 {
    color: #4c4c4c;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
}

header.wrapper {
    position: relative;
}

.header-container {
    height: 250px;
    text-align: center;
    border-top: 8px solid #B30F0E;
    overflow: hidden;
}

.header-container .logo {
    width: 140px;
    position: relative;
    top: 5px;
    left: 45px;
    float: left;
}

.header-container .logo img {
    max-width: 100%;
}

.header-container .main-menu {
    position: absolute;
    float: right;
    right: 25px;
    top: 40px;
    font-size: 0.75em;
    font-weight: bold;
}

.header-container .main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header-container .main-menu ul li a {
    background-color: #FFFFFF;
    color: #B30F0E;
    padding: 5px 15px;
    text-decoration: none;
    cursor: pointer;  
}

.header-container .main-menu ul li.current a,
.header-container .main-menu ul li.active a,
.header-container .main-menu ul li:hover a,
.header-container .main-menu ul li:focus a {
    background-color: #B30F0E;
    color: #FFFFFF;
    border-radius: 6px;
}

.header-container .main-menu ul li {
    margin: 0 2px 1px;    
}  

.header-container .main-menu ul.second-level li {
    margin: 0 0 2px;
    border-radius: 6px;
    box-shadow: 1px 1px 5px #000;
}  

.header-container .main-menu ul.second-level li a {
    border-radius: 6px;
    padding: 5px 15px;  
    border: 1px solid #FFFFFF;
    background-color: #B30F0E;
    color: #FFFFFF;   
}  

.header-container .main-menu ul.second-level li.current a,
.header-container .main-menu ul.second-level li:hover a {
    background-color: #FFFFFF;
    color: #B30F0E;  
    border-color: #B30F0E;
}

.header-container .clear {
    clear: both;
}

.header-container .title-background {
    background-color: #B30F0E;
    height: 100px;
    -ms-transform: rotate(358.2deg); /* IE 9 */
    -webkit-transform: rotate(358.2deg); /* Chrome, Safari, Opera */
    transform: rotate(358.2deg);  
    width: 110%;
    position: relative;
    left: -5%;
    top: -5px;
    text-align: right;
}

.header-container .social-icon {
  position: relative;
  right: calc(5% + 35px);
  top: 10px;
}  

.header-container .title {
    color: #FFFFFF;
    font-size: 2.25em;
    position: relative;
    top: -80px;
}

.header-container form.search {
    position: relative;
    top: 55px;
}

.main-content .main {
    width: 70%;
    margin: 15px 10px 30px 15px;
    float: left;
}

.main-content .main .social-icons {
    float: right;
    margin: 20px 0;
}

.main-content .main > hr {
    width: 100%;
    border-top: 2px solid #F1F1F1;
    margin-top: 50px;
}

.main-content .right-panel {
    width: 25%;
    float: right;
    margin-top: 20px;
}

.right-panel form.search input[type="image"] {
    width: 20px;
    outline: none;
}

.right-panel form.search input[type="text"] {
    border: 0;
    border-bottom: 1px solid #4C4C4C;
    outline: none;
    color: #4C4C4C;
    width: 200px;
    position: relative;
    top: -5px;    
    left: 15px;
}

.right-panel .facebook-container {
    height: 200px;
    padding: 30px 15px 50px 0;
}

.right-panel .facebook-container .facebook-container-title {
    font-size: 0.85em;
    padding: 10px 5px;
    background-color: #EEEFF4;
    border-top: 1px solid #446BA2;
    font-weight: bold;  
}  

.right-panel .banner-placeholder {
    width: 285px;
    height: 260px;    
    background-color: gray;
    text-align: center;
}

.right-panel .two-percent-formular {
    text-align: center;
    font-size: 1.75em;
    font-weight: bold;
    margin: 30px auto;
}

.right-panel .two-percent-formular a {
    text-decoration: none;   
    color: #2A4065;    
}
    
/*news*/

.news-related {
    display: none;
    width: 70%;
    margin: 40px 10px 35px 35px;
    text-align: center;
    float: left;
}

.news-related h2 {
    font-size: 1em;
    color: #000000;
}

.news-latest-container {
    padding: 0; 
}  

.news-related .news-latest-item {
    width: 22%;
    padding: 0 4% 0 0;
    float: left;
}

.news-related .news-latest-item:nth-child(4n) {
    padding: 0;
}
  
.news-related .news-latest-gotoarchive {
    clear:both;
    padding-top: 35px;
    background-color: transparent;  
}  


.news-related > div img {
    max-width: 100%;
    height: auto;
}

.news-single-leftbox {
    font-size: 12px;
}

.news-single-item h1 {
    margin: 5px 0; 
}  

.news-single-img {
    margin-top: 20px;
}

.news-single-backlink a {
    color: #FFFFFF;
    background-color: #2A4067;
    border-radius: 5px;
    padding: 10px;
    border: 0;
    font-size: 0.9em;
    outline: none;
    text-decoration: none;
    text-transform: uppercase;
}

.news-latest-item h2 a {
    text-decoration: none;
    color: #4C4C4C;
}  

.news-list-container .news-list-item h2 {
    font-size: 1.125em;
}  

.news-list-container .news-list-item a {
    color: #2A4067;
    text-decoration: none;
}  

.news-list-browse {
    font-size: 14px;
}

.news-list-browse .browseLinksWrap {
    line-height: 30px;
}

.news-list-browse .browseLinksWrap > a {
    padding: 4px 8px;
    color: #ffffff;
    background-color: #2A4067;
    border: 0;
    border-radius: 5px;  
    text-decoration: none;
    white-space: nowrap;
}


/*news*/


footer .container {
    background-image: url('../img/footer-background.png');
    background-size: 100% 100%;
    text-align: center;
    color: #FFFFFF;
}

footer .legal-notice {
    padding: 30px 0 10px;
    font-size: 0.75em;
}

#tx_indexedsearch > table {
    display: none;
}

div.csc-textpic .csc-textpic-imagewrap img {
    margin-top: 15px;
}

/*mobile menu styles*/

#mobile_menu {
    background-color: #fff;  
}  


/* contact form*/

#field-1 ol li {
    padding: 5px 0;
  
}

div.csc-mailform li label {
    color: #4c4c4c;
    font-size: 0.875em;
    width: 10em;
}  

div.csc-mailform input,
div.csc-mailform textarea {
    color: #4c4c4c;
    font-size: 0.875em;
    max-width: 96%;
}  

div.csc-mailform input[type=submit] {
    color: #ffffff;
    background-color: #2A4067;
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;  
}

div.csc-mailform label[for="field-2"],
div.csc-mailform label[for="field-3"] {
    position: relative;
}  

div.csc-mailform label[for="field-2"]:before,
div.csc-mailform label[for="field-3"]:before {
    content: "*";
    color: red;  
    display: inline-block;
    position: absolute;    
}

div.csc-mailform label[for="field-2"]:before {
    right: 75px;
}

div.csc-mailform label[for="field-3"]:before {
    right: 97px;
}


/* ==========================================================================
   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
   ========================================================================== */

.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 {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
