#loadingBox {
	background-image: url('/sites/default/files/loading.gif');
    height: 291px;
    width: 441px;
    margin: 0 auto;
}

.component-tabs .tab-section {
	background-image: url('/sites/all/themes/memrimodern/img/tabs-bg.jpg');
	min-height: 140px;
	width: 100%;
	background-size: cover;
}

.tab-content .component-heading {
    display: none;
}

.component-tabs .tab-section .button {
	cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
    margin: 5px;
    position: relative;
}

.component-tabs .tab-section .button.active {
    color: rgb(154, 0, 39);
    background-color: #ffffff;
}

.component-tabs .tab-content { 
	display: none;
} 

.component-tabs .tab-content.active { 
	display: block; 
}

.component-tabs .tab-section .tabs-title {
	display: inline-block;
    width: 20%;
    padding: 0px 30px;
}

.component-tabs .tab-section .tabs-buttons {
    display: inline-block;
    width: 80%;
    margin-top: 15px;
}

.component-tabs .tab-section .tabs-buttons ul {
	padding-left: 0;
}

.component-tabs .tabs-title h3 {
	margin: 0;
    position: relative;
    bottom: 10px;
}
/*
.component-tabs .tabs-title h3:after {
	content: url(/sites/all/themes/memrimodern/img/arrow-down.png);
    padding-left: 10px;
    position: relative;
    top: 2px;
}*/

.component-tabs .tabs-title h3 span.first-word {
    font-weight: 800;
}

.component-tabs .tabs-title h3,
.component-tabs .tabs-title h3 span {
	color: #ffffff;
	font-size: 26px;
    font-weight: 300;
    text-transform: uppercase;

}

.tabs-selector {
	display: none;
}

/* START white bg styles */
.page-countries .first-word-bold-caps-heading,
.page-countries .first-word,
.page-subjects .first-word-bold-caps-heading,
.page-subjects .first-word {
	color: black;
}

.component-tabs .tab-section.white-bg .tabs-title {
	display: none;
}

.component-tabs .tab-section.white-bg .button {
	text-transform: none;
}

.component-tabs .tab-section.white-bg .li-dropdown {
	display: table;
    border-spacing: 5px;
    margin: 0 auto;
}

.component-tabs .tab-section.white-bg .li-dropdown .button {
    border: 2px solid #dddddd;
    color: rgb(154, 0, 39);
    max-width: 195px;
    height: 70px;
    padding: 12px 25px;
    
    vertical-align: middle;
    display: table-cell;
}

.component-tabs .tab-section.white-bg .tabs-buttons {
	display: block;
	width: 100%;
	text-align: center;
}

.component-tabs .tab-section.white-bg .button.active, .component-tabs .tab-section.white-bg .button:hover {
    color: #ffffff;
    background-color: #242f44;
    border: 2px solid #242f44;
}

.component-tabs .tab-section.white-bg {
	background-image: none;
	min-height: auto;
}

.component-tabs .tab-section.white-bg .button.solid-red:after {
	display: none;
}
/* END white bg styles */

.page-about .component-tabs .component-subheading {
	text-align: justify;
}

.page-about .component-tabs {
	background-image: url(/sites/all/themes/memrimodern/img/bg-about-tabs.png?d=1);
	background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100% auto;
}

.page-about .component-tabs .tab-section {
	background-color: transparent;
}

.page-about .component-tabs .tab-section.white-bg .li-dropdown .button {
	background-color: #fff;
}

.page-about .component-tabs .tab-section.white-bg .li-dropdown .button.active,
.page-about .component-tabs .tab-section.white-bg .li-dropdown .button:hover {
    background-color: #242f44;
}

@media (max-width: 1200px) {
	.component-tabs .tabs-title h3 {
		bottom: 0;
	    text-align: center;
		padding-bottom: 25px;
		padding-top: 30px;
	}

	.component-tabs .tab-section .tabs-title {
		display: block;
	    width: 100%;
	    padding: 0px 30px;
	}

	.component-tabs .tab-section .tabs-buttons {
	    display: block;
	    width: 580px;
    	margin: 0 auto;
	    padding-bottom: 35px;
	}

	.component-tabs .tab-section {
		min-height: 260px;
	}
}

@media (max-width: 640px) {
	.component-tabs .tab-section {
	    min-height: 170px;
	}

	.component-tabs .tab-section .tabs-buttons {
		width: 100%;
	}

	.component-tabs .tab-section .tabs-selector.button.active {
		color: #ffffff;
    	background-color: transparent;
	}

	.tabs-selector {
		display: block;
    	text-align: left;
	    cursor: pointer;
	    width: 230px;
        margin: 0 auto !important;
	}

	.dropdown-icon {
	    width: 0px;
	    height: 0px;
	    border-left: 5px solid transparent;
	    border-right: 5px solid transparent;
	    border-top: 8px solid #ffffff;
        position: absolute;
	    top: 17px;
	    right: 10px;
	}

	.dropdown-icon.arrow-up {
		border-bottom: 8px solid #ffffff;
		border-top: none;
	    top: 17px;
	}

	.li-dropdown {
	    display: none;
	    position: absolute;
	    /*background: rgb(154, 0, 39);*/
	    background-image: url(/sites/all/themes/memrimodern/img/tabs-bg.jpg);
        z-index: 99;

        left: 0;
	    right: 0;
	    margin-left: auto;
	    margin-right: auto;
	    width: 240px;
	}

	.li-dropdown > li {
	    width: 230px;
	    cursor: pointer;
	}

	.li-dropdown > li:hover {
	    background: #aaa;
	}

	/* START white bg styles */
	.page-countries .first-word-bold-caps-heading,
	.page-countries .first-word,
	.page-subjects .first-word-bold-caps-heading,
	.page-subjects .first-word {
		color: black;
	}

	.component-tabs .tab-section.white-bg .tabs-title {
		display: none;
	}

	.component-tabs .tab-section.white-bg .li-dropdown {
		display: table;
	    border-spacing: 5px;
	    margin: 0 auto;
	}

	.component-tabs .tab-section.white-bg .li-dropdown .button {
	    border: 2px solid #dddddd;
	    max-width: 260px;
	    height: 70px;
	    padding: 12px 25px;
	    
	    vertical-align: middle;
	    display: table-cell;
	    padding-right: 0;
	    width: 100%;
	    padding-left: 0;
	}

	.component-tabs .tab-section.white-bg .tabs-buttons {
		display: block;
		width: 100%;
		text-align: center;
	}

	.component-tabs .tab-section.white-bg {
		background-image: none;
		min-height: auto;
	}

	.component-tabs .tab-section.white-bg {
    	color: rgb(154, 0, 39);
	    display: block;
	    text-align: left;
	    cursor: pointer;
	    width: 271px;
	    margin: 0 auto !important;
	}

	.component-tabs .tab-section.white-bg .li-dropdown .button {
	    border: 2px solid #dddddd;
	    max-width: 265px;
	    padding: 12px 25px;
	    height: auto;
	    vertical-align: inherit;
    	display: block;
	}

	.component-tabs .tab-section.white-bg .button.active {
	    color: rgb(154, 0, 39);
    	background-color: #ffffff;
	}

	.component-tabs .tab-section.white-bg .button {
		text-transform: none;
		text-align: center;
	}

	.component-tabs .tab-section.white-bg .li-dropdown {
	    display: none;
	    position: absolute;
        background-color: #ffffff;
    	background-image: none;
	    z-index: 99;
	    left: 0;
	    right: 0;
	    margin-left: auto;
	    margin-right: auto;
	    width: 275px;
	}

	.component-tabs .tab-section.white-bg {
    	width: 275px;
	}

	.component-tabs .tab-section.white-bg .tabs-buttons {
		padding-bottom: 0;
	}

	.component-tabs .tab-section.white-bg .tabs-selector {
		color: rgb(154, 0, 39) !important;
		background-color: #ffffff !important;
		border: 2px solid rgb(255, 255, 255) !important;
		width: 100%;
	}

	.component-tabs .tab-section.white-bg .dropdown-icon {
		border-top: 8px solid #000000;
	}

	.component-tabs .tab-section.white-bg .dropdown-icon.arrow-up {
		border-bottom: 8px solid #000000;
	    border-top: none;
	}

	.component-tabs .tab-section.white-bg .button.active {
	    color: #ffffff;
	    background-color: #242f44;
	    border: 2px solid #242f44;
	}

	/* END white bg styles */
}