/*
Theme Name: Studio18 
Author: Studio18
Author URI: http://www.Studio18.co.za/
Description: Custom Theme for Mobil
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.Studio18.co.za/
*/

/*  Nav on hover */
@media (min-width: 767px) { 
.sidebar-nav {
    padding: 9px 0;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}
.navbar-nav>li>.dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 2.5px solid  #0043a1;
}
}
/*  End nav on hover */

/*Wordpress editor styles start*/

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}

/*Wordpress editor styles end*/

/* S18 */
body {
    font-family: 'Roboto', sans-serif !important;
}
hr {
border-bottom: 2px solid #ddd
}
img{
max-width:100%;
height:auto;
}
iframe {
    width: 100% !important;
}
a:hover{
text-decoration:none;
}
.TopBanner img {
    width: 100%;
    height: auto;
    margin-top: -20px;
    margin-bottom: 20px;
}
/* nav */
.page-id-30 #menu-main-menu, .page-id-26 #menu-main-menu, .home #menu-main-menu{
    display: none !important;
}
.page-id-30 button.navbar-toggle.collapsed, .page-id-26 button.navbar-toggle.collapsed, .home button.navbar-toggle.collapsed {
    display: none;
}

.navbar-default {
    background-color: #fff;
    border-radius: 0px;
    border-bottom: 2.5px solid  #0043a1;
    min-height: 70px;
}
.navbar-brand {
    float: left;
    height: 70px;
    padding: 7px 15px; 
}
a.navbar-brand img {
    height: 100%;
    width: auto;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    text-decoration: none;
    background-color: #fff !important;
    color:  #0043a1 !important;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    background-color:  #0043a1 !important;
}

@media (min-width: 768px) {
.navbar-nav>li>a {
    padding-top: 25px;
    padding-bottom: 25px;
}
.padT20 {
    padding-top: 20px;
}
}
/* home screen */

.home {
    background-image: url(http://mobilba.co.za/wp-content/uploads/2020/01/MobilCar.jpg);
    background-size: cover;
    color: #fff;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-position: bottom center;
    overflow-y: hidden;
}
.homeText {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    line-height: 50px;
    padding-top: 25vh;
}
.home span {
    font-size: 72px;
    font-weight: 100;
}
.btn-red {
    background-color:  #0043a1;
    color: #fff;
}
.left10{
margin-left:10px;
}
.padT40 {
    width: 100%;
    text-align: center;
    padding-top: 40px;
}
@media (max-width: 767px) { 
.homeText {
    line-height: 36px;
}
.home span {
    font-size: 36px;
}
.table-responsive {
    border: none;
}
}

/* body */
h4, h5, a{
    color:  #0043a1;
}
.squash{
    margin-top: -20px;
    margin-bottom: -5px;
}
.highlight {
    text-align: center;
    border-bottom: 2px solid  #0043a1;
    padding: 15px;
}
/* My Cred */
.mycred-my-rank img {
    max-width: 225px;
    height: auto;
width:100%;
}

/* forms */
.btn, .btn a, .gform_previous_button, .gform_next_button {
    background-color:  #0043a1;
    color: #fff;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn:hover, .btn a:hover, .gform_previous_button:hover, .gform_next_button:hover  {
    background-color:  #e90000;
    color: #eee;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.gform_footer {
    text-align: center;
}

/* Simple PageNated */
.spp-page-links.pagination, .spp-page-links.pagination a {
    width: 100%;
    text-align: center;
    color: #fff;
    border: thin solid  #0043a1;
    padding: 4px;
    background-color:  #0043a1;
    font-weight: bold;
height: 30px;
    border-radius: 15px;
}
.spp-page-links.pagination a {
    font-weight: 300;
}
.spp-page-links.pagination a:hover {
    text-decoration: none;
}
input.wpProQuiz_button, input.wpProQuiz_button:hover, input.wpProQuiz_button.wpProQuiz_QuestionButton, .wpProQuiz_button, .wpProQuiz_button:hover {
    height: 30px !important;
    background-color:  #0043a1 !important;
    border-radius: 15px !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 300 !important;
}
.wpProQuiz_questionList {
    margin-bottom: 10px!important;
    background: #F8FAF5!important;
    border: 1px solid  #0043a1!important;
    padding: 5px!important;
    list-style: none!important;
}
.wpProQuiz_button, .wpProQuiz_button, .wpProQuiz_button:hover {
    position: relative;
    width: 20%;
    left: 40%;
    font-weight: 300 !important;
    float: left !important;
    text-decoration: none !important;
    text-transform: capitalize;
}
.wpProQuiz_questionList {
    margin-bottom: 10px!important;
    background: #F8FAF5!important;
    border: 1px solid  #0043a1!important;
    padding: 5px!important;
    list-style: none!important;
    max-width: 60%;
    left: 20%;
    position: relative;
}
.wpProQuiz_question_text {
    margin-bottom: 10px!important;
    text-align: center;
}
.wpProQuiz_results {
    text-align: center;
}
.wpProQuiz_toplist h2 {
    font-size: 16px;
    text-align: center;
}
@media (max-width: 767px) {
.wpProQuiz_button, .wpProQuiz_button, .wpProQuiz_button:hover {
    position: relative;
    width: 40%;
    left: 30%;
    font-weight: 300 !important;
    float: left !important;
    text-decoration: none !important;
    text-transform: capitalize;
}
.wpProQuiz_questionList {
    margin-bottom: 10px!important;
    background: #F8FAF5!important;
    border: 1px solid  #0043a1!important;
    padding: 5px!important;
    list-style: none!important;
    max-width: 100%;
    left: 0%;
    position: relative;
}
}
/* Leaderboard tables*/
td {
    padding: 5px !important;
}
.adjustTable{
    margin-top: -36px;
}
.iconBig img, .iconBig{
width:100%;
    max-width: 250px;
    border-radius: 50%;
}
/* Product Cat */
.cat {
color: #333;
}
.cat img {
    border: 4px solid #ccc;
    border-radius: 50%;
}
.cat:visited img {
    border-color: green;
}
.cat:visited {
 color:green;
}

.tab-pane{
    border: thin solid #ddd;
    padding: 15px;
    margin-top: -11px;
    margin-bottom: 40px;
    border-radius: 0 0px 6px 6px;
}

.video {
width: 100%;
height: 550px;
}
@media (max-width: 767px) {
.video {
width: 100%;
height: 350px;
}
.hideMobi {
display:none;
}
.page-id-15 .hideMobi, .page-id-358 .hideMobi {
display:block;
}
.TopBanner img {
    height: auto;
    width: 400%;
    overflow: hidden !important;
    max-width: none;
    left: -150%;
    position: relative;
}
.TopBanner {
    overflow: hidden;
margin-top: -20px;
}
}

/* Quiz Section */
.wpProQuiz_text {
    text-align: center;
}
h5.wpProQuiz_header {
    text-align: center;
    width: 100%;
}
.wpProQuiz_question_page {
    text-align: center;
}
.wpProQuiz_questionList {
    padding: 16px!important;
    border-radius: 20px;
}
@media (min-width: 450px) { 
.margT250 {
    margin-top: -490px;
}
}

.pad20 {
    padding: 20px;
    border: thin solid #000;
}

.wp-video {
    max-width: 100%;
    height: auto;
    text-align: center;
    align-items: center;
	margin: auto;
}


.mxImg {
    width: 650px !important;
    text-align: center;
    margin: auto;
}