/*
Theme Name:Patriae Fidelis
Author:Patriae Fidelis
Text Domain:patriaefidelis
*/

@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400&subset=latin,latin-ext);
@import url(http://fonts.googleapis.com/css?family=Shadows+Into+Light);

* {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
display:block;
}

audio,
canvas,
video {
display:inline-block;
}

audio:not([controls]) {
display:none;
height:0;
}

.more-link,
[hidden] {
display:none;
}

input::-moz-focus-inner {
border:0;
}

html {
font-size:100%;
overflow-y:scroll;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
}

html,
button,
input,
select,
textarea {
font-family:'Ubuntu', sans-serif;
font-size:14px;
color:#080808;
}

body {
position:relative;
min-width:1110px;
}

a:link,
a:visited {
color:#282828;
text-decoration:none;
}
a:hover,
a:active {
color:#080808;
text-decoration:none;
}

a img {
border:none;
}


/* GLOBAL */

.center {
position:relative;
width:1110px;
height:100%;
margin:0 auto;
}

.clear {
display:block;
clear:both;
}

.left {
float:left;
}

.right {
float:right;
}

.search-form .screen-reader-text {
display:none;
}

.search-form .search-field {
width:220px;
height:41px;
padding:0 10px;
border:1px solid #E3E7E8;
border-right:none;
float:left;
}

.search-form .search-submit {
width:41px;
height:41px;
overflow:hidden;
background:url(images/search.jpg) no-repeat;
border:none;
cursor:pointer;
text-indent:-9999px;
}

.search-form .search-submit:hover {
background-position:0 -41px;
}

.post {
margin-bottom:40px;
}

.page .entry-date,
.post .entry-date {
display:block;
width:150px;
min-height:150px;
padding:5px 0 0 0;
background:url(images/bg_date.png) no-repeat top center;
text-align:center;
line-height:45px;
}

.page .entry-date i ,
.post .entry-date i {
display:block;
width:100%;
overflow:hidden;
margin:0 0 0 -5px;
font-family:'Shadows Into Light', cursive;
font-size:38px;
}

.page  .entry-date span,
.post .entry-date span {
display:block;
margin:-12px 0 0 0;
color:#E33238;
text-transform:uppercase;
font-size:14px;
font-weight:bold;
}

.post .entry-title {
margin:0 0 5px 0;
font-size:22px;
font-weight:normal;
}

.post .entry-content {
color:#000000;
line-height:1.5em;
font-size:16px;
}

.post .size-thumbnail  {
margin:0 18px 18px 0;
float:left;
}

.post .content {
width:510px;
}

.post .content,
.page .content {
text-align:justify;
}

.gallery-item {
width:510px;
margin:0;
}

.paging-navigation {
display:inline-block;
margin:30px auto 0 auto;
}

.paging-navigation a,
.paging-navigation .current {
display:inline-block;
margin:3px;
padding:4px 8px;
background-color:#c83737;
border:1px solid #a02c2c;
border-radius:2px;
text-transform:uppercase;
font-family:Arial;
font-size:14px;
color:#ffffff;
}

.paging-navigation .current {
background-color:#cccccc;
border-color:#999999;
color:#000000;
}

blockquote {
margin:20px;
padding:20px;
background-color:#DEDEDE;
text-align:justify;
font-size:15px;
line-height:20px;
}

.nav-menu,
.sub-menu {
position:relative;
margin:0;
padding:0;
list-style:none;
}

.nav-menu > li {
position:relative;
float:left;
font-size:18px;
}

.nav-menu > li > a {
margin:0 0 0 5px;
padding:6px 15px;
border-bottom:3px solid transparent;
}

.nav-menu > li.hover > a,
.nav-menu > li > a:hover {
background:#AAA8A9;
border-bottom:3px solid #E55459;
color:#fff;
}

.sub-menu {
display:none;
position:absolute;
top:30px;
left:5px;
padding:3px 15px;
background:#AAA8A9;
background:rgba(170,168,169,0.8);
z-index:1;
}

.sub-menu li {
margin:10px 0;
}

.sub-menu li a {
font-size:14px;
padding:0;
margin:0;
border:none;
white-space:nowrap;
}

.sub-menu li a:hover {
color:#ffffff;
}

.content-list {
margin:50px 0;
}

.content-list,
.post-content {
padding:50px;
font-size:15px;
line-height:20px;
background-color:#ffffff;
}

content-list .page,
.content-list .post {
width:660px;
}

.post-content .page,
.post-content .post {
width:660px;
float:left;
}

.content-list .top-header,
.post-content .top-header {
display:inline-block;
margin:0 0 40px -50px;
padding:25px 30px 25px 50px;
background:#ECECEC;
border-right:solid 5px #E33238;
text-transform:uppercase;
font-weight:normal;
font-size:26px;
color:#E33238;
line-height:10px;
}

.content-list center {
width:660px;
}

.post-content .entry-date {
width:150px;
float:left;
}

.post-content img {
max-width:510px !important;
height:auto !important;
}

.post-content iframe {
max-width:510px !important;
height:280px !important;
}

.wp-caption {
width:180px;
margin:0 18px 18px 0;
text-align:center;
font-size:14px;
font-style:italic;
line-height:1.2em;
color:#555555;
float:left;
}

.wp-caption .wp-caption-text {
display:inline-block;
margin-top:-18px;
}

.gsense {
text-align:center;
}

.gsense.display {
width:100%;
margin:50px 0;
}

#read-also .gsense,
.content .gsense {
margin-top:250px;
}


/* MAIN */

body {
margin:0;
padding:0;
background-color:#ECECF0;
}

#top {
position:relative;
height:205px;
background-color:#ffffff;
border-top:38px solid #AAA8A9;
border-bottom:solid 22px #DEDEDE;
}

#top .sm-buttons {
position:absolute;
right:0;
top:-32px;
}

#top .sm-buttons a {
display:inline-block;
line-height:26px;
color:#ffffff;
font-size:13px;
float:left;
margin-left:10px;
}

#top .sm-buttons .en {
margin-right:30px;
}

#top .sm-buttons .en img {
display:inline-block;
float:left;
margin-right:10px;
}

#top .sm-buttons .fb {
width:26px;
height:26px;
background:url('images/ico_f.png') 0 0 no-repeat;
}

#top .sm-buttons .rss {
width:26px;
height:26px;
background:url('images/ico_rss.png') 0 0 no-repeat;
}

#top .sm-buttons .yt {
width:48px;
height:19px;
margin-top:3.5px;
background:url('images/ico_yt.png') 0 0 no-repeat;
}

#top .sm-buttons .fb:hover,
#top .sm-buttons .rss:hover {
background-position: 0 -26px;
}

#top .sm-buttons .yt:hover {
background-position: 0 -19px;
}

#top .home-link {
display:inline-block;
margin-left:55px;
margin-top:-35px;
float:left;
}

#top .birth-date {
position:absolute;
left:55px;
bottom:-19px;
color:#ffffff;
font-size:13px;
}

#main-search {
margin-top:35px;
float:right;
}

#site-navigation {
position:absolute;
right:0;
bottom:8px;
}


/* HOME PAGE */

#main-banner {
padding:30px 0;
background-color:#F6F6F6;
}

#main-banner .banner {
width:651px;
height:417px;
border:10px solid #EAEAEA;
overflow:hidden;
}

#main-banner .txt {
width:420px;
float:right;
}

#main-banner h2 {
margin:30px 0 40px 20px;
font-size:36px;
font-weight:normal;
color:#E33238;
}

#main-banner p {
line-height:1.8em;
}

#red-bar {
height:177px;
background-color:#E33238;
overflow:hidden;
}

#red-bar a {
display:block;
width:49%;
height:100%;
color:#ffffff;
}

#red-bar .img {
padding:10px;
background-color:rgba(255,255,255,0.2);
font-size:19px;
text-transform:uppercase;
text-align:center;
}

#red-bar .img img {
display:block;
margin-top:6px;
}

#red-bar .txt {
display:block;
width:315px;
height:177px;
}

#red-bar .txt span {
display: table-cell;
height:177px;
vertical-align: middle;
}

#news {
position:relative;
background-color:#ffffff;
padding:30px 0;
}

#news > h1 {
display:inline-block;
margin:0;
padding:25px 30px;
background-color:#ECECEC;
border-right:5px solid #E33238;
text-transform:uppercase;
font-weight:normal;
font-size:26px;
line-height:10px;
}

#news .post {
position:relative;
width:700px;
margin-top:25px;
margin-left:40px;
}

#news .img {
position:absolute;
top:30px;
right:30px;
width:338px;
height:273px;
overflow:hidden;
}

#news .img span {
position:absolute;
bottom:32px;
right:0;
padding:5px 10px;
background:#ffffff;
text-transform:uppercase;
color:#e33238;
font-size:26px;
font-weight:600;
}

#news a.left {
display:block;
width:500px;
}

#logos {
width:1110px;
height:168px;
overflow:hidden;
white-space:nowrap;
margin-bottom:20px;
padding:40px 0;
}

#links {
padding:20px 0;
background-color:#C4C4C4;
color:#ffffff;
}

#links .center > div {
width:370px;
}

#links .content {
width:250px;
margin:0 auto;
font-size:15px;
line-height:22px;
}

#links a {
color:#ffffff;
}

#links h4 {
width:280px;
margin:0 auto 10px auto;
padding:0 0 10px 0;
border-bottom:4px solid #DEDEDE;
font-size:18px;
font-weight:normal;
text-align:center;
color:#525252;
}

#links h4 a {
color:#525252;
}

#links .cuts a {
display:block;
}

#links .cuts .left {
width:135px;
text-align:right;
}

#links .cuts .right {
width:105px;
}

#links .contact .content {
text-align:center;
}

#links .contact .content a:first-child {
display:none;
}

#links .newsletter form {
margin:15px 0 0 0;
}

#links .newsletter .email {
width:200px;
height:35px;
padding:0 10px;
background:none;
border:1px solid #E3E7E8;
border-right:none;
color:#ffffff;
}

#links .newsletter .button {
width:37px;
height:37px;
overflow:hidden;
background:url(images/newsletter.png) no-repeat 0 -37px;
border:none;
cursor:pointer;
text-indent:-9999px;
}

#links .newsletter .button:hover {
background-position:0 0;
}


/* OTHERS */

#read-also {
width:310px;
}

#read-also h5 {
margin:0;
background-color:#E33238;
padding:10px 20px;
font-size:18px;
font-weight:normal;
color:#ffffff;
text-align:center;
text-transform:uppercase;
}

#read-also a {
display:block;
margin:25px 0;
background-color:#DEDEDE;
text-align:center;
}

#read-also a img {
width:100%;
height:auto;
}

#read-also a span {
display:block;
padding:20px;
}

#office-map {
position:relative;
width:600px;
height:680px;
margin:25px;
background:url('images/map.png') 0 0 no-repeat;
}

#office-map a {
position:absolute;
display:inline-block;
padding-top:41px;
background:url('images/logo_map2.png') 50% 0 no-repeat;
color:#ffffff;
text-shadow:0 1px 2px #000000;
}

#office-map a:last-child {
background:url('images/logo_map3.png') 50% 0 no-repeat;
}

#office-map a:nth-child(3) {
background:url('images/logo_map4.png') 50% 0 no-repeat;
}


/* FOOTER */

#footer {
padding:15px 0;
background-color:#969696;
color:#ffffff;
}

#footer .credits {
margin-top:12px;
}