.dropdown-menu {
    margin-top: 0;
  }
.navbar .nav-item:not(:last-child) {
    margin-right: 20px;
  }
  .dropdown-toggle::after {
     transition: transform 0.15s linear; 
  }
  .show.dropdown .dropdown-toggle::after {
    transform: translateY(3px);
  }
/* COLOUR REFERENCES

Green: #79b044
Salmon: #dd5638
Blue Gray: #3e4249

*/
/* === GENERAL === */

body {
  font-family: 'Raleway', Helvetica, sans-serif;
  font-size: 16px;
  
}

.im{
  width: 100%;
  height: auto;
}



.navbar {
  background-color: #7a33ff;
  vertical-align: center;
}
.navbar ul li a {
  color: white;
  
}
.navbar ul li ul li a {
  color: #7a33ff;
}

#carous-layout { 
  position: relative;
  margin-top: 55px;
  padding: 0;
}

/* .carousel .carousel-indicators li {background-color: #7a33ff;}
.carousel .carousel-indicators li.active {background-color: rgb(138, 4, 131);}

.gray {
  color: #6e6d6d;
} */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 90px;
  width: 90px;
  outline: white;
  background-size: 100%, 100%;
  border-radius: 50%;
  border: 3px solid white;
  background-image: none;
}

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 50px;
  color: white;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 50px;
  color: white;
}

/* === GLOBAL === */

h1,h2,h3,h4,h5,h6 {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: bold;
}

h1 {
  font-size: 3em;
}

h1,h2 {
  margin: 0 0 40px;
}

h3 {
  margin: 20px 0;
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 15px;
}

p.lead {
  font-weight: normal;
}

a {
 color: #7a33ff;
 text-decoration: none;
}

button, input, .btn, a.btn {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: white;
}

.btn {
  font-weight: bold;
}

.btn:focus {
  outline: none;
}

.btn-danger {
  background-color: #7a33ff;
  border-color: #7a33ff;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open>.dropdown-toggle.btn-danger {
  background-color: #9261ec !important;
  border-color: #7a33ff !important;
}

.btn-success {
  background: #7a33ff;
  border: none;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open>.dropdown-toggle.btn-success {
  background: #9261ec !important;
  border-color: #7a33ff !important;
}

.close {
  background-color: #333;
  border-color: black;
  color: white;
}

input[type="submit"],
button[type="submit"] {
  display: inline-block;
  /* margin-bottom: 0; */
  color: #333;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.33;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  outline: none;
  border: none;
  background: #aaa;
  color: white;
}

.form-group {
  margin-bottom: 20px;
}

img {
  max-width: 100%;
}

.modal-content {
  background-color: #cfbcf3;
}

/* CARDS 
============================================ */

#cards {
  position: relative;
  background-color: #F8F9FA;
  
}
 .title-cards {
  text-align: center;
  color: #7a33ff;
 }
#randcontainer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  

}
.card{
  max-width: 31.5%;
  border: 5px solid #7a33ff;
  margin: 10px;
  padding: 0;
  
}

  

.card {
  position: relative;
  
}


.card img {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}


.card h3 {
  position: absolute;
  top: 0;
  left: 5px;  
  color: white;
}



.card p {
  position: absolute;
  bottom: 0;
  left: 5px;  
  color: white;
}

.card:before {
  content: '';
  display: block;
  position: absolute;
  height: 0%;
  width: 100%;
  bottom: 0;
  left: 0;
  transition: height 0.5s ease-out;    
  background: linear-gradient(to bottom, transparent 0% , #ac85f3 50%);
  opacity: 0.7;
  
}

.card:hover:before {
    height: 100%;
  
}


blockquote {
  padding: 0;
  border: none;
  font-style: italic;
  text-align: left;
}

blockquote cite {
  display: block;
  color: #777;
  margin: 15px 0 0 0;
}

blockquote:before {
  display: none;
}


/* ==== LAYOUT ====*/

.row + .row {
  margin-top: 20px;
}

section {
  padding: 80px 0;
}

section.main-content {
  padding: 40px 0;
}

.section-header {
  text-align: center;
}

section h2 {
  margin: 20px 0 40px;
}

section h3 {
  margin: 30px 0 10px;
}

#primary {
  padding-top: 40px;
  padding-bottom: 40px;
}

.feature-image {
  display: table;
  width: 100%;
  
}

.feature-image-default {
  background: url('../img/stuff-feature.jpg') no-repeat;
  background-size: cover;
}

.feature-image-default-alt {
  background: url('../img/map-1440x1160.jpg') no-repeat;
  background-size: cover;
}

.feature-image h1 {
   display: table-cell;
   vertical-align: middle;
   text-align: center;
   color: white;
   padding: 40px 20px;
}

#optin {
  background: #3e4249;
  padding: 20px 0;
  color: white;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 1.2em;
  text-align: center;
}

#optin p {
  margin: 7px 0 0 0;
}

#why-choose-us {
  background-color: white;
}


#offer {
  text-align: center;
}

#video {
  background: url('../img/map-1685x1105.jpg') 50% 100% repeat fixed;
  background-size: cover;
  text-align: center;
  color: white;

}



/*========================
        Testimonial 
==========================*/

.testimonial{
    
  background-color: rgba(244,225,251,0.7) ;
  padding: 0 auto 10%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.testimonial h2{
  
  text-align: center;
  padding: 3% 0 4% 0;
  
}

.avatar{
  
  height: 150px;
  border-radius: 100px;
}

.fa-star{
  color: orange;
  display: inline-block;
  margin: 1% 0;
}

.designation{
  padding-left: 2%;
  border-left: 1px solid grey;
  margin-left: 5%;
}



#signup {
  text-align: center;
  background: url('../img/night-new-york.jpg') center center repeat fixed;
  background-size: cover;
  color: white;
  padding: 140px 20px;
}

#signup2,
#signup3 {
  text-align: center;
  background: url('../img/map-1440x1160.jpg') center center repeat fixed;
  background-size: cover;
  color: white;
  padding: 140px 20px;
}

#signup h2,
#signup2 h2,
#signup3 h2 {
  font-weight: normal;
}

#signup h2 strong,
#signup2 h2 strong,
#signup3 h2 strong {
  border-bottom: solid 2px #7a33ff;
  
}

#signup .btn,
#signup2 .btn,
#signup3 .btn {
  font-size: 24px;
}

footer {
  background: #3e4249;
  color: white;
  padding: 20px 0 0 0;
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a:link, footer a:visited {
  color: white;
}

footer a:hover {
  color: #7a33ff;
}
footer li a {
  text-decoration: none;  
}
footer li {
  display: inline;
  margin-right: 10px;
}

footer li:hover {
  color: #7a33ff;
}

footer li.signup-link a {
  color: #7a33ff;
}

footer li.signup-link a:hover {
  font-weight: bold;  
}

/* === BLOG === */
#blogPost {
  margin-top: 80px;
}

.post, .widget, #comments {
  position: relative;
  border: solid 1px #ddd;
  background: white;
  margin: 0 0 40px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.post header,
.post .post-excerpt,
.post .post-body,
#comments .comments-wrap {
  padding: 20px;
}

 
 


.post header h1,
.post header h3 {
  margin: 0 0 15px;
  padding: 0 0 15px;
  border-bottom: solid 1px #ddd;
}

.post header h1 {
  font-size: 24px;
}

.post-image {
  height: auto;
}

.post-details {
  font-size: 12px;
  width: 90%;
}

.post-details i.fa {
  padding-left: 10px;
}

.post-details i.fa:first-child {
  padding: 0;
}

/* === COMMENTS === */

.post-comments-badge {
  height: 70px;
  width: 70px;
  position: absolute;
  top: 25px;
  right: 20px;
  border: none;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  background: #7a33ff;
  text-align: center;
  display: table;
}

.post-comments-badge a {
  display: table-cell;
  vertical-align: middle;
  color: white;
  font-size: 20px;
  line-height: 20px;
}

.post-comments-badge i.fa {
  display: block;
  font-size: 15px;
  padding: 0;
  margin-bottom: 4px;
}

.post-comments-badge:hover {
  background-color: #9261ec;
}

#comments h3 {
  text-align: center;
}

#comments h4 {
  font-size: 1.3em;
}

#comments ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

#comments ol li {
  background: rgba(0,0,0,0.02);
  padding: 10px 20px;
  margin: 10px 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: solid 1px rgba(0,0,0,0.03);

}

#comments ol li ol.children {
  padding: 0;
  list-style: none;
  font-size: 0.96em;
}

#leave-comment {
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: solid 1px #eee;
}


/* === RESOURCES === */
.resource {
  width: 31.33333333%;
  float: left;
  margin: 0 3% 40px 0;

}

.resource:nth-child(3n){
  margin-right: 0;
}

/* === WIDGETS === */
.widget {
  padding: 20px;
}

.widget h4 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: solid 1px #ddd;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  margin: 0 0 5px;
}

.widget ul li:hover {
  position: relative;
  left: 1px;
}

/* === CUSTOM ICON SPRITES === */

i.ci {
  display: inline-block;
  height: 40px;
  width: 40px;
  background: url('../img/icon-sprite.png') no-repeat;
}

.ci.ci-computer {
  background-position: 0 0;
}

.ci.ci-watch {
  background-position: -40px 0;
}

.ci.ci-calendar {
  background-position: -80px 0;
}

.ci.ci-community {
  background-position: -120px 0;
}

.ci.ci-instructor {
  background-position: -160px 0;
}

.ci.ci-device {
  background-position: -200px 0;
}

/* === FORMS === */
label {
  display: block;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 6px 12px;
  
}


/* ==== MEDIA QUERIES ==== */

@media screen and ( min-width : 992px ) and ( max-width : 1100 ) {

  .card {
    min-width: 400px;
    max-height: 300px;
    margin: 10px;
  }  

  .card h3 {
    font-size: 0.5em;
    top: 0;
    left: 5px;
  }
  .card p {
    font-size: 0.3em;
    bottom: 0;
    left: 5px;
  } 

}

@media screen and ( max-width : 991px ) {
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    height: 50px;
    width: 50px;
    outline: white;
    background-size: 100%, 100%;
    border-radius: 50%;
    border: 3px solid white;
    background-image: none;
  }
  
  .carousel-control-next-icon:after
  {
    content: '>';
    font-size: 28px;
    color: white;
  }
  
  .carousel-control-prev-icon:after {
    content: '<';
    font-size: 28px;
    color: white;
  }
  
  .card {
    min-width: 40%;
    max-height: 400px;
    margin: 10px;
  }  

  .card h3 {
    font-size: 0.8em;
    top: 0;
    left: 5px;
  }
  .card p {
    font-size: 0.7em;
    bottom: 0;
    left: 5px;
  } 

  
}

@media screen and ( max-width : 768px ) {
  .logo {
    width: 50%;
  }

  .card {
    max-width: 96%;
    margin: 10px;
  
   }

  .card h3 {
    font-size: 0.8em;
    top: 0;
    left: 5px;
  }
  .card p {
    font-size: 0.7em;
    bottom: 0;
    left: 5px;
  } 

  #optin p {
    margin: 0 0 10px;
  }

  #video iframe {
    height: 240px;
  }

 
  .resource {
    width: 48%;
    margin-right: 2%;
    min-height: 900px;
  }
  .resource:nth-child(3n){
    min-height: 500px;
  }
}

@media screen and ( max-width : 568px ) {
 

 .card {
  max-width: 96%;
  margin: 10px 10px 10px 10px;
 }
 
 .card h3,
 .card p {
    font-size: 1em;
  } 

  
  
  .resource{
    width: 100%;
    margin-right: 0;
    min-height: 0;
  }
  
  .resource:nth-child(3n){
    min-height: 500px;
    
  }
}

