/*
Theme Name: IESE
Theme URI: http://www.independent-software.com
Author: Independent Software
Author URI: http://www.independent-software.com
Description:
Version: 1.0
License: Private
*/

/****************************************************
 *                                                  *
 *                   TYPOGRAPHY                     *
 *                                                  *
 ****************************************************/

body {
  color: #666;
  font-family: "Roboto",Arial,Tahoma,sans-serif;
  font-size: 14px;
  font-weight: normal;
}

h1 {
  padding: 0 0 8px 0;
  margin: 0;
  font-size: 26px;
  line-height: 1.3em;
}

h2 {
  padding: 12px 0 8px 0;
  margin: 0;
  font-size: 22px;
  line-height: 1.3em;
}

h3 {
  padding: 12px 0 4px 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.3em;
}

p {
  line-height: 1.5em;
  padding-bottom: 5px;
  text-align: justify;
}

a, a:link, a:active, a:visited, a:hover {
  color: #1A417B;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s ease;
  outline: none;
}

a:hover {
  color: #A41D31;
  text-decoration: none;
  transition: all 0.4s ease;
  outline: none;
}

a.btn, a.btn:link, a.btn:active, a.btn:visited, a.btn:hover {
  font-weight: normal;
  transition: none;
  color: #fff;
}

a.btn:hover {
  transition: none;
  color: #fff;
}

a.btn i {
  padding-right: 5px;
}

a.btn-default, a.btn-default:hover {
  color: #000 !important;
}



ul {
  padding: 0 0 15px 20px;
  margin: 0;
}

li {
  padding: 2px 0 2px 0;
}

table {
  margin-bottom: 12px;
}

td {
  vertical-align: top;
  padding-right: 10px;
}



/****************************************************
 *                                                  *
 *                     TYPOGRAPHY                   *
 *                                                  *
 ****************************************************/

body {
  background: #022C55;
}

#content {
  background: #fff;
  padding: 20px 0 15px 0;
}

.btn-spaced {
  margin: 4px 4px 4px 4px;
}

.alignleft {
  float: left;
  padding: 12px 12px 12px 0;
}

.alignright {
  float: right;
  padding: 12px 0 12px 12px;
}

/****************************************************
 *                                                  *
 *                     HEADER                       *
 *                                                  *
 ****************************************************/

div#header {
  position: relative;
  padding: 25px 0 0 0;
  height: 125px;
  background: #fff;
}

div#google_translate_element {
  background: #ccc;
  padding: 2px 6px 2px 6px;
  float: right;
}

/****************************************************
 *                                                  *
 *                     HEADER                       *
 *                                                  *
 ****************************************************/

footer {
  border-top: solid 5px #DFC253;
  background: #1A4167;
  padding: 35px 0 45px 0;
  color: #D3DDE6;
}

footer .title {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;
}

footer a {
  color: #E0B26C !important;
  text-decoration: none;
  transition: all 0.15s ease;
  font-weight: normal;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

footer a.btn {
  color: #333 !important;
  margin-top: 8px;
}

div#subfooter {
  background: #022C55;
  border-top: solid 1px #022344;
  color: #D3DDE4;
  padding: 24px 0 24px 0;
}

/****************************************************
 *                                                  *
 *                     NAVBAR                       *
 *                                                  *
 ****************************************************/


nav.navbar {
  background: #1A4167;
  border: none;
  border-top: solid 5px #DFC253;
  border-radius: 0px;
  margin-bottom: 0;
}

nav.navbar ul {
  padding: 0;
  margin: 0;
}

nav.navbar li.current-menu-item a {
  color: #E0B26C !important;
  background: #1A4167 !important;
  font-weight: normal;
}

nav.navbar li.menu-item a,
nav.navbar li.menu-item a:link,
nav.navbar li.menu-item a:active,
nav.navbar li.menu-item a:visited {
  color: #fff;
  transition: all 0.15s ease;
  outline: none;
  font-weight: normal;
}

nav.navbar li.menu-item a:hover {
  color: #E0B26C;
}

/****************************************************
 *                                                  *
 *                   POST-TEASER                    *
 *                                                  *
 ****************************************************/

div.post-teaser {
}

div.post-teaser h2 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1em;
}

div.post-teaser h2 a {
  text-decoration: none;
  line-height: 1.5em;
}

div.post-teaser .date {
  font-style: italic;
  color: #888;
  padding-bottom: 3px;
}

div.post-teaser .featured-image img {
  width: 100%;
  display: block;
  transition: all 0.4s ease;
}

div.post-teaser .featured-image a:hover img {
  opacity: 0.7;
  transition: all 0.4s ease;
}

div.post-teaser-featured {
  background: #A41D31;
  color: #fff;
  margin-bottom: 30px;
}

div.post-teaser-featured .post-teaser-featured-text {
  padding: 0px 20px 7px 20px;
}

div.post-teaser-featured h2 {
  font-size: 16px;
  font-weight: bold;
  line-height: 1em;
  color: #fff !important;
}

div.post-teaser-featured h2 a {
  text-decoration: none;
  line-height: 1.5em;
  color: #fff;
}
div.post-teaser-featured h2 a:hover { color: #D8B446 !important; }

div.post-teaser-featured .featured-image {
  background: #fff;
}

div.post-teaser-featured .featured-image img {
  width: 100%;
  display: block;
  transition: all 0.4s ease;
}

div.post-teaser-featured .featured-image a:hover img {
  opacity: 0.7;
  transition: all 0.4s ease;
}

/****************************************************
 *                                                  *
 *                       POST                       *
 *                                                  *
 ****************************************************/

div.post {
}

div.post div.featured-image {
  margin-bottom: 20px;
}

div.post div.featured-image img {
  width: 100%;
  display: block;
}

div.post .date {
  font-style: italic;
  color: #888;
  padding-bottom: 3px;
}

/****************************************************
 *                                                  *
 *                   SIDEBARS                       *
 *                                                  *
 ****************************************************/

.sidebar {
  border-top: solid 6px #B9972F;
  padding: 18px 18px 18px 18px;
  margin: 0 0 20px 0;
}

.sidebar h3 {
  font-size: 17px;
  font-weight: bold;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
}

.sidebar-yellow {
  border-top-color: #B9972F;
  background: #DFC253;
  color: #5B470B;
}
.sidebar-yellow h3 { color: #fff; }

.sidebar-red {
  border-top-color: #D8B446;
  background: #A41D31;
  color: #fff;
}
.sidebar-red h3 { color: #fff; }
.sidebar-red a { color: #999; }
.sidebar-red a:hover { color: #D8B446; }

.sidebar-grey {
  border-top-color: #A1A1A1;
  background: #BEBEBE;
  color: #333;
}
.sidebar-grey h3 { color: #1A4167; }

.sidebar-white {
  border-top-color: #fff;
  background: #fff;
}
.sidebar-white h3 { color: #1A417B; }

div.menu ul {
  padding: 0;
  margin: 0;
}

div.menu li {
  list-style-type: none;
  text-transform: uppercase;
  padding: 4px 0 4px 0;
}

div.menu li.current-menu-item a {
  color: #000 !important;
}



/****************************************************
 *                                                  *
 *                  SPEECH BUBBLE                   *
 *                                                  *
 ****************************************************/

.bubble {
  position:relative;
  padding:15px;
  margin:1em 0 2em;
  border:1px solid #ABABAB;
  color:#494949;
  background: #D7D7D7;
}

.bubble:before {
  content:"";
  position:absolute;
  bottom:-20px; /* value = - border-top-width - border-bottom-width */
  left:40px; /* controls horizontal position */
  border-width:20px 20px 0;
  border-style:solid;
  border-color:#ABABAB transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

/* creates the smaller  triangle */
.bubble:after {
  content:"";
  position:absolute;
  bottom:-18px; /* value = - border-top-width - border-bottom-width */
  left:42px; /* value = (:before left) + (:before border-left) - (:after border-left) */
  border-width:18px 18px 0;
  border-style:solid;
  border-color:#D7D7D7 transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

.carousel-caption {
  text-shadow:
    3px 3px 0 rgba(0,0,0,0.3),
   -1px -1px 2px #000,
    1px -1px 2px #000,
    -1px 1px 2px #000,
     1px 1px 2px #000;
}
