/*
Table of contents
1. Utility Classes
2. Columns shortcodes styles
3. Bootstrap Alert styles
4. WordPress native editor classes
5. Reponsive images
6. Make sure embeds and iframes fit their containers
7. Default widgets
8. Footer links
9. Entry content
10. Widgets
*/

/* 1. Utility Classes */
.clear {
    clear: both;
}

/* 2. Columns shortcodes styles */
.euroconference-one-two {
    float:left;
    margin-right:3%;
    width:48%;
}
.euroconference-one-third {
    float:left;
    margin-right:2%;
    width:32%;
}
.euroconference-two-third {
    float:left;
    margin-right:2%;
    width:66%;
}
.euroconference-one-fourth {
    float:left;
    margin-right:2%;
    width:23.5%;
}
.euroconference-three-fourth {
    float:left;
    margin-right:2%;
    width:74.5%;
}

.euroconference-one-two.last,
.euroconference-one-third.last,
.euroconference-two-third.last,
.euroconference-one-fourth.last,
.euroconference-three-fourth.last{
    margin-right:0 !important;
}

.euroconference-one-two,
.euroconference-one-third,
.euroconference-two-third,
.euroconference-one-fourth,
.euroconference-three-fourth {
    margin-bottom: 15px;
}

/* 3. Bootstrap Alert styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert h4 {
    margin-top: 0;
    color: inherit;
}

.alert .alert-link {
    font-weight: bold;
}

article.post-content .entry-content .alert > p,
article.post-content .entry-content .alert > ul {
    margin-bottom: 0;
}

.alert > p + p {
    margin-top: 5px;
}

.alert-dismissable {
    padding-right: 35px;
}

.alert-dismissable .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}

.alert-success {
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-success hr {
    border-top-color: #c9e2b3;
}

.alert-success .alert-link {
    color: #356635;
}

.alert-info {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-info hr {
    border-top-color: #a6e1ec;
}

.alert-info .alert-link {
    color: #2d6987;
}

.alert-warning {
    color: #c09853;
    background-color: #fcf8e3;
    border-color: #fbeed5;
}

.alert-warning hr {
    border-top-color: #f8e5be;
}

.alert-warning .alert-link {
    color: #a47e3c;
}

.alert-danger {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}

.alert-danger hr {
    border-top-color: #e6c1c7;
}

.alert-danger .alert-link {
    color: #953b39;
}

/* 4. WordPress native editor classes  */
.wp-caption{
    max-width: 100%;
}
.wp-caption-text{}
.sticky{}
.gallery-caption{}
.bypostauthor{}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
    margin: 5px 10px 5px 0;
}

img.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
    margin: 5px 0 5px 10px;
}

img.aligncenter {
    margin: 5px auto;
}

img.alignnone {
    margin: 5px 0;
}

/* 5. Responsive images */
.widget img,
.wp-caption {
    max-width: 100%;
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
    height: auto;
    max-width: 100%;
}

/* 6. Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
video,
.wp-audio-shortcode,
.wp-video {
    margin-bottom: 24px;
    max-width: 100%;
}

.widget-other-posts .video-wrapper,
.widget-other-posts .wp-video {
    margin-bottom: 15px;
}

p > embed,
p > iframe,
p > object,
p > .wp-audio-shortcode,
p > .wp-video,
span > embed,
span > iframe,
span > object,
span > .wp-audio-shortcode,
.ec-thumb embed,
.ec-thumb iframe,
.ec-thumb object,
.ec-thumb video,
.ec-thumb .wp-video {
    margin-bottom: 0;
}

/* 7. Default widgets */
.widget_text .ec-tabs {
    margin-bottom: 20px;
}
.textwidget img,
.textwidget select {
    max-width: 100%;
    height: auto;
}
.widget_archive select,
.widget_categories .postform {
    width: 100%;
    margin: 9px 0 15px;
}
.widget_calendar table {
    margin: 15px 0 15px;
}
.widget_pages .children,
.widget_nav_menu .sub-menu {
    margin-top: 0;
}
.widget_pages .children li:first-child,
.widget_nav_menu .sub-menu li:first-child {
    padding-top: 0;
}
.widget_rss ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.widget_rss li {
    margin-bottom: 15px;
}
.widget_rss li:last-child {
    margin-bottom: 0;
}
.widget_search .search-form .form-group {
    margin-top: 20px;
}
.widget_text .textwidget,
.widget_tag_cloud .tagcloud {
    margin-top: 15px;
}

/* 8. Footer links */
#page-footer .ec-social,
#page-footer .ec-links {
    margin-bottom: 0;
}
#page-footer .ec-links {
    margin-top: 20px;
}
#page-footer .copy-right {
    margin-top: 10px;
}

/* 9. Entry Content */
.entry-content a {
    color: #a39161;
}
.entry-content .btn-primary {
    color: white;
}

/* 10. Widgets */
.ec-normal-wdg-title .widget-title {
    text-align: left;
    padding: 13px 20px;
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
}