/*
Theme Name: Risen Child Theme Nostalgiafestival
Theme URI: http://churchthemes.com/themes/risen
Author: churchthemes.com
Author URI: http://churchthemes.com
Description: A sample child theme for Risen.
Copyright: (c) 2012-2014 DreamDolphin Media, LLC
Template: risen
Version: 2.1.5
*/

/*
To override styles, copy them from the parent theme here, then change the properties.
You can also add new styles here. See styles/* for overriding the light and dark base styles.
Note: it is not necessary to @import the parent stylesheet here (see docs for more info)
*/

/* Cookie info */
.cc_container .cc_btn, .cc_container .cc_btn:visited {
    background-color: #d9d9d9 !important;
    }

/** Följande regel tar bort bakgrundmönstreti meny och titlar.**/
.image-frame,
.google-map-container,
.wp-caption,
#header-menu,
.sf-menu li li:hover, 
.sf-menu li li.sfHover,
.sf-menu li li a:focus, 
.sf-menu li li a:hover, 
.sf-menu li li a:active,
.pp_overlay,
#page-header h1,
.sidebar-widget-title,
.flex-caption, 
#home-row-widgets .widget-image-title {
	background-image: none;
} 


#header-menu-links > li > a,
.flex-caption,
#home-row-widgets .widget-image-title,
#page-header h1 {
    color: #555;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.2);
}

.sf-arrows > li > a.sf-with-ul::after {
    border-top-color: #555;
}
.sf-arrows > li > a.sf-with-ul:focus::after, .sf-arrows > li:hover > a.sf-with-ul::after, .sf-arrows > .sfHover > a.sf-with-ul::after {
    border-top-color: #555 !important;
}

.table {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
}

.table th {
    text-align: left;
}

.table td,
.table th {
    padding: 0;
}

.table > thead:first-child > tr:first-child > td,
.table > thead:first-child > tr:first-child > th {
    border-top: 0;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
        vertical-align: top;
    border-top: 1px solid #ddd;
}

.table > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-responsive {
    min-height: .01%;
    overflow-x: auto;
}

.table-responsive .table {
    background-color: #fff;
}

.home-column-widgets-both #home-column-widgets-right {
    width: 40%;
}

#sidebar-right {
    width: 350px;
    margin-left: -400px;
}

#om-oss {
    width: 100%;
}


#om-oss strong,
#om-oss b {
    margin-top: 40px;
}

#om-oss > p {
    clear: both;
}

#om-oss > div {
    float: left;
    display: table-cell;    
    height: 155px;
    border: 1px solid #eee;
    margin-right: 15px;
    margin-bottom: 15px;
    vertical-align: middle;
    text-align: center;
    position: relative;
}
#om-oss > div.oss-large {
    width: 339px;
}

#om-oss > div * {
    vertical-align: middle;
}

#om-oss > div.oss-medium {
    width: 161px;
}

#om-oss > div.oss-medium.last {
    margin-right: 0;
}

#om-oss > div img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 112px;
}
#om-oss > div.oss-large img {
    width: 309px;
}

.timeline {
    margin-top: 20px;
}
.timeline tr {
    border-top: 1px solid #ddd;
}
.timeline tr:first-child {
    border-top: 0px solid #ddd;
}
.timeline tr:nth-child(even) {
    background-color: #f9f9f9;
}
.timeline tr:hover {
    background-color: #f5f5f5;
}
.timeline td {
    position: relative;
    
}
.timeline tr > td:first-child {
    width: 20%;    
}
.timeline tr td div {
    text-align: center;
    font-weight: bold;
    color: #333;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    padding: 10px;
    background: #dceac1 !important;
}
.timeline tr td:last-child {
    padding: 10px 10px 10px 30px;
}
.timeline tr > td > b {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 0; 
    height: 0; 
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 21px solid #dceac1 !important;
}

.timeline tr:nth-child(1) td div {
    background-color: #f44336;
}
.timeline tr:nth-child(1) td > b {
   border-left-color: #f44336;
}
.timeline tr:nth-child(2) td div {
    background-color: #e91e63;
}
.timeline tr:nth-child(2) td > b {
    border-left-color: #e91e63;
}
.timeline tr:nth-child(3) td div {
    background-color: #9c27b0;
}
.timeline tr:nth-child(3) td > b {
    border-left-color: #9c27b0;
}
.timeline tr:nth-child(4) td div {
    background-color: #673ab7;
}
.timeline tr:nth-child(4) td > b {
    border-left-color: #673ab7;
}
.timeline tr:nth-child(5) td div {
    background-color: #3f51b5;
}
.timeline tr:nth-child(5) td > b {
    border-left-color: #3f51b5;
}
.timeline tr:nth-child(6) td div {
    background-color: #2196f3;
}
.timeline tr:nth-child(6) td > b {
    border-left-color: #2196f3;
}
.timeline tr:nth-child(7) td div {
    background-color: #03a9f4;
}
.timeline tr:nth-child(7) td > b {
    border-left-color: #03a9f4;
}
.timeline tr:nth-child(8) td div {
    background-color: #00bcd4;
}
.timeline tr:nth-child(8) td > b {
    border-left-color: #00bcd4;
}
.timeline tr:nth-child(9) td div {
    background-color: #009688;
}
.timeline tr:nth-child(9) td > b {
    border-left-color: #009688;
}
.timeline tr:nth-child(10) td div {
    background-color: #4caf50;
}
.timeline tr:nth-child(10) td > b {
    border-left-color: #4caf50;
}
.timeline tr:nth-child(11) td div {
    background-color: #8bc34a;
}
.timeline tr:nth-child(11) td > b {
    border-left-color: #8bc34a;
}
.timeline tr:nth-child(12) td div {
    background-color: #cddc39;
}
.timeline tr:nth-child(12) td > b {
    border-left-color: #cddc39;
}
.timeline tr:nth-child(13) td div {
    background-color: #ffeb3b;
}
.timeline tr:nth-child(13) td > b {
    border-left-color: #ffeb3b;
}
.timeline tr:nth-child(14) td div {
    background-color: #ffc107;
}
.timeline tr:nth-child(14) td > b {
    border-left-color: #ffc107;
}
.timeline tr:nth-child(15) td div {
    background-color: #ff9800;
}
.timeline tr:nth-child(15) td > b {
    border-left-color: #ff9800;
}
.timeline tr:nth-child(16) td div {
    background-color: #ff5722;
}
.timeline tr:nth-child(16) td > b {
    border-left-color: #ff5722;
}
.timeline tr:nth-child(17) td div {
    background-color: #795548;
}
.timeline tr:nth-child(17) td > b {
    border-left-color: #795548;
}
.timeline tr:nth-child(18) td div {
    background-color: #9e9e9e;
}
.timeline tr:nth-child(18) td > b {
    border-left-color: #9e9e9e;
}
.timeline tr:nth-child(19) td div {
    background-color: #607d8b;
}
.timeline tr:nth-child(19) td > b {
    border-left-color: #607d8b;
}

.pristagare {
    margin: 25px 0;
}

.pristagare th {
    text-align: left;
    padding-right: 20px;
}
@media screen and (max-width: 767px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
    
    .table-responsive .table {
        margin-bottom: 0;    
    }
    
    .table-responsive > .table > tbody > tr > td, 
    .table-responsive > .table > tbody > tr > th, 
    .table-responsive > .table > tfoot > tr > td, 
    .table-responsive > .table > tfoot > tr > th, 
    .table-responsive > .table > thead > tr > td, 
    .table-responsive > .table > thead > tr > th {
        white-space: nowrap;
    }
}

@media screen and (max-width: 1025px) {
    .timeline tr td span {
        display: none;
    }
}
@media screen and (min-width: 801px){
    #content-inner.has-sidebar {
        margin-right: 400px !important;
    }
    .home-column-widgets-both #home-column-widgets-left {
        width: 52% !important;
    }
}

/*Villkorsystem --> */
.terms-modal.fade-and-drop.terms-modal-open {
        top: 1%!important;
}

.terms-modal-content{
    max-height:650px!important;
    height:100%!important;
    min-height:150px!important;
}

/*Villkorsystem <-- */