/* ----------------------------------------------------------------------------------------
* Author        : Stilus
* Template Name : Stilus - HTML & Bootstrap Template
* Version       : 1.0
* ---------------------------------------------------------------------------------------- */
/* ======================================================
    TABLE OF CONTENTS
   ====================================================== */
/*
01. Preloader
02. General
03. Navigation
04. Header
05. Pricing Table
06. Portfolio
07. Accordion (Support Team section)
08. Contact
09. Background colors
10. Background images
11. Icons color
12. Padding
13. Buttons
14. Underline
15. Social Icons 
16. Medium Devices
*/



/*---------- 01. Preloader ----------*/

#before-load {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1001;
}
#before-load i {
    font-size: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -35px 0 0 -35px;
}



/*---------- 02. General ----------*/

html {
    height: 100%;
}
body {
    overflow-x: hidden;
    height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    letter-spacing: 0.1rem;
}
.header-spacing {
    letter-spacing: 0.58em!important;
}
a {
    color: #8a949e;
}
a.active,
a:active,
a:focus,
a:hover {
    color: #868e96;
}
button:focus {
    outline: none;
}
button.close {
    color: #868e96 !important;
    font-weight: 100;
}
.btn {
    font-family: 'Open Sans', sans-serif;
}
.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: none;
}
a:focus,
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active {
    outline: 0px !important;
    -webkit-appearance: none !important;
}
.box-shadow {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.2);
}
::selection {
    background: rgba(229, 229, 229, 0.30);
    text-shadow: none;
}
.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 0px;
    padding-left: 0px;
    width: 100%;
}
.text-small {
    font-size: 0.7rem;
}
.info-text {
    white-space: nowrap;
}



/*---------- 03. Navigation ----------*/

#mainNav {
    background-color: #323538;
    font-family: 'Open Sans', sans-serif;
}
#mainNav .navbar-toggler {
    font-size: 12px;
    right: 0;
    text-transform: uppercase;
    color: #868e96;
    border: 0;
    background-color: none;
    font-family: 'Open Sans', sans-serif;
}
#mainNav .navbar-brand {
    color: #82909e;
    font-family: 'Open Sans', sans-serif;
}
#mainNav .navbar-brand.active,
#mainNav .navbar-brand:active,
#mainNav .navbar-brand:focus,
#mainNav .navbar-brand:hover {
    color: #323538;
}
#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 14px !important;
    padding: 0.75em 0;
    letter-spacing: 2px;
    line-height: 1.5 !important;
    color: #e9ecef;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}
#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #747b82;
}
@media (min-width: 992px) {
    #mainNav {
        padding-top: 25px;
        padding-bottom: 25px;
        -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
        -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
        transition: padding-top 0.3s, padding-bottom 0.3s;
        border: none;
        background-color: transparent;
    }
    #mainNav .navbar-brand {
        font-size: 1.75em;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;http://via.placeholder.com/400x360
    }
    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 1.1em 1em !important;
    }
    #mainNav.navbar-shrink {
        padding-top: 0;
        padding-bottom: 0;
        background-color: #21242b;
    }
    #mainNav.navbar-shrink .navbar-brand {
        font-size: 1.25em;
        padding: 0px 0;
    }
}
.navbar-expand-lg {
    padding-right: 4% !important;
    padding-left: 4% !important;
}



/*---------- 04. Header ----------*/

header.masthead {
    height: 100%;
    padding-top: 30% !important;
    text-align: center;
    color: white;
    background-image: url("http://earlyeducationsolutions.com/img/1600x1200_2.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover !important;
}



/*---------- 05. Pricing Table ----------*/

.card-price {
    background-color: #e9ecef;
    width: 260px !important;
}
.card-outline-primary {
    border: none;
}
.pricing-list {
    padding-top: 30px;
    padding-bottom: 30px;
}



/*---------- 06. Portfolio ----------*/

.portfolio-item {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 0px;
}
#portfolio .portfolio-item .portfolio-link {
    position: relative;
    display: block;
    text-decoration: none;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
    opacity: 0;
    background: rgba(221, 221, 221, 0.2);
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    font-size: 20px;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    color: white;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0;
}
#portfolio .portfolio-item .portfolio-caption {
    max-width: 400px;
    margin: 0 auto;
    padding: 8px;
    text-align: center;
    color: #e9ecef;
    text-decoration: none;
    background-color: #2F3235;
}
#portfolio .portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
}
#portfolio .portfolio-item .portfolio-caption p {
    font-size: 13px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}
#portfolio * {
    z-index: 2;
}
@media (max-width: 766px) {
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        width: 380px !important;
    }
}
@media (min-width: 767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}
.portfolio-modal .modal-dialog {
    max-width: none;
    text-align: center !important;
    width: 400px;
}
.portfolio-modal .modal-content {
    min-height: 100%;
    margin: 24% 0 0 0;
    text-align: center;
    border: none;
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.portfolio-modal .modal-content h2 {
    font-size: 3em;
    margin-bottom: 15px;
}
.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}
.portfolio-modal .modal-content p.item-intro {
    font-size: 16px;
    font-style: italic;
    margin: 20px 0 30px;
    font-family: 'Open Sans', sans-serif;
}
.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}
.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}
.portfolio-modal .modal-content button {
    cursor: pointer;
    margin-bottom: 4% !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
}
.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}



/*---------- 07. Accordion ( Support Team ) ----------*/

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #383F45;
    border-radius: 0rem;
}
.card-header {
    border-radius: 0px !important;
    border-color: #343a40 !important;
}
.card-header:hover {
    border-radius: 0px !important;
    border-color: rgb(67, 75, 82) !important;
    background-color: #393b3d;
}
.collapsing {
    transition: height 0.20s ease-in-out !important;
}



/*---------- 08. Contact ----------*/

section#contact .section-heading {
    color: white;
}
section#contact .form-group {
    margin-bottom: 25px;
}
section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px;
    border-radius: 0px !important;
}
section#contact .form-group input.form-control {
    height: auto;
}
section#contact .form-group textarea.form-control {
    height: 236px;
}
section#contact .form-control:focus {
    border-color: #A0A0A0;
    border-left-width: 1px;
    border-right-width: 1px;
    box-shadow: none;
}
section#contact::-webkit-input-placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #bdbdbd;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}
section#contact:-moz-placeholder {
    font-weight: 700;
    color: #ffffff;
    /* Firefox 18- */
    
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}
section#contact::-moz-placeholder {
    font-weight: 700;
    color: #eeeeee;
    /* Firefox 19+ */
    
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}
section#contact:-ms-input-placeholder {
    font-weight: 700;
    color: #eeeeee;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}
section#contact .text-danger {
    color: #e74c3c;
}



/*---------- 9. Background colors ----------*/

.bg-tuna {
    background-color: #434950;
}
.bg-solitude {
    background-image: linear-gradient( rgba(60, 87, 111, 0.12), rgba(61, 69, 80, 0.07));
}



/*---------- 10. Background images ----------*/

section#pricing {
    background-image: url("http://earlyeducationsolutions.com/wip/img/1600x1200_2.jpg");
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}
section#portfolio {
    background-image: url("http://earlyeducationsolutions.com/wip/img/1600x1200._2jpg");
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}
section#support {
    background-image: url("http://earlyeducationsolutions.com/wip/img/1600x1200.png");
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}
section#contact {
    background-image: url("http://earlyeducationsolutions.com/wip/img/1600x1200.png");
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}



/*---------- 11. Icons color ----------*/

.icon-color {
    color: #0C5661 !important;
}



/*---------- 12. Padding ----------*/

.pt-6 {
    padding-top: 5rem !important;
}
.pt-7 {
    padding-top: 6rem !important;
}
.pt-8 {
    padding-top: 7rem !important;
}
.pt-9 {
    padding-top: 8rem !important;
}
.pt-10 {
    padding-top: 9rem !important;
}
.pb-6 {
    padding-bottom: 5rem !important;
}
.pb-7 {
    padding-bottom: 6rem !important;
}
.pb-8 {
    padding-bottom: 7rem !important;
}
.pb-9 {
    padding-bottom: 8rem !important;
}
.pb-10 {
    padding-bottom: 9rem !important;
}
.pr-6 {
    padding-right: 5rem !important;
}
.pr-7 {
    padding-right: 6rem !important;
}
.pr-8 {
    padding-right: 7rem !important;
}
.pr-9 {
    padding-right: 8rem !important;
}
.pr-10 {
    padding-right: 9rem !important;
}
.pl-6 {
    padding-left: 5rem !important;
}
.pl-7 {
    padding-left: 6rem !important;
}
.pl-8 {
    padding-left: 7rem !important;
}
.pl-9 {
    padding-left: 8rem !important;
}
.pl-10 {
    padding-left: 9rem !important;
}



/*---------- 13. Buttons ----------*/

.btn-one {
    padding: 1rem 1rem;
    font-size: 0.8rem !important;
    line-height: 1.1;
    border-radius: 0rem;
    letter-spacing: 0.1rem;
}



/*---------- 14. Underline ----------*/

hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
hr.hr-lg {
    border-top-width: 2px
}
hr.hr-xl {
    border-top-width: 5px
}
hr.hr-red {
    border-top-color: #5F0517
}
hr.hr-dark {
    border-top-color: #434950
}
hr.hr-light {
    border-top-color: #E0E0E0
}
.w-5 {
    width: 5%
}
.w-10 {
    width: 10%
}
.w-15 {
    width: 15%
}
.w-20 {
    width: 20%
}



/*---------- 15. Social Icons ----------*/

.fa-facebook:hover,
.fa-google-plus:hover,
.fa-twitter:hover,
.fa-instagram:hover {
    color: #0078f3;
}










/*---------- 16. Medium Devices ----------*/

 
 

/* Extra small devices (less than 350px landscape) */
@media (max-width: 350px) and (orientation: landscape) { 


    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 10px !important;
    }

html {
        font-size: 12px;
    }
    header.masthead {
        padding-top: 30% !important;
    }
    .title-small {
        font-size: 8px;
    }
    .title-large {
        font-size: 16px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 90% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 
}





/* Extra small devices (less than 350px portrait) */
@media (max-width: 350px) and (orientation: portrait) { 


    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 10px !important;
    }

html {
        font-size: 12px;
    }
    header.masthead {
        padding-top: 60% !important;
    }
    .title-small {
        font-size: 8px;
    }
    .title-large {
        font-size: 16px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 90% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }


 }




/* small devices (less than 576px landscape) */
@media (min-width: 351px) and (max-width: 575px) and (orientation: landscape) { 


    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 10px !important;
    }

html {
        font-size: 12px;
    }
    header.masthead {
        padding-top: 16% !important;
    }
    .title-small {
        font-size: 13px;
    }
    .title-large {
        font-size: 26px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 90% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }


/* small devices (less than 576px portrait) */
@media (min-width: 351px) and (max-width: 575px) and (orientation: portrait) { 

    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 10px !important;
    }

html {
        font-size: 12px;
    }
    header.masthead {
        padding-top: 60% !important;
    }
    .title-small {
        font-size: 13px;
    }
    .title-large {
        font-size: 26px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 80% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }




 /* small devices (less than 768px landscape) */
 @media (min-width: 576px) and (max-width: 767px) and (orientation: landscape) { 

  #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 12px;
    }
    header.masthead {
        padding-top: 20% !important;
    }
    .title-small {
        font-size: 9px;
    }
    .title-large {
        font-size: 18px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 70% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }


 /* small devices (less than 768px portrait) */
  @media (min-width: 576px) and (max-width: 767px) and (orientation: portrait) { 

  #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 12px;
    }
    header.masthead {
        padding-top: 50% !important;
    }
    .title-small {
        font-size: 9px;
    }
    .title-large {
        font-size: 18px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 70% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }







 /* medium devices (less than 992px landscape) */
 @media (min-width: 768px) and (max-width: 991px) and (orientation: landscape) { 

      #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 16px;
    }
    header.masthead {
        padding-top: 30% !important;
    }
    .title-small {
        font-size: 14px;
    }
    .title-large {
        font-size: 28px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 70% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }


 }


/* medium devices (less than 992px portrait) */
  @media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) { 

#mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 16px;
    }
    header.masthead {
        padding-top: 50% !important;
    }
    .title-small {
        font-size: 14px;
    }
    .title-large {
        font-size: 28px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 70% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }




/* large devices (less than 1200px landscape) */
@media (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {

      #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 16px;
    }
    header.masthead {
        padding-top: 30% !important;
    }
    .title-small {
        font-size: 14px;
    }
    .title-large {
        font-size: 28px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 60% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }


 }


/* large devices (less than 1200px portrait) */
@media (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {

      #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 16px;
    }
    header.masthead {
        padding-top: 30% !important;
    }
    .title-small {
        font-size: 14px;
    }
    .title-large {
        font-size: 28px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 60% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }




/* Extra large devices (large desktops, 1200px and up landscape) */
@media (min-width: 1200px) and (orientation: landscape) { 

      #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px !important;
    }

html {
        font-size: 16px;
    }
    header.masthead {
        padding-top: 30% !important;
    }
    .title-small {
        font-size: 16px;
    }
    .title-large {
        font-size: 32px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 50% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }

 }




/* Extra large devices (large desktops, 1200px and up portrait) */
@media (min-width: 1200px) and (orientation: portrait) { 

html {
        font-size: 16px;
    }
    header.masthead {
        padding-top: 30% !important;
    }
    .title-small {
        font-size: 16px;
    }
    .title-large {
        font-size: 32px;
    }
    .portfolio-modal .modal-dialog {
        max-width: none;
        text-align: center !important;
        margin: 0 auto;
        width: 50% !important;
    }
    .portfolio-modal .modal-content {
        margin: 2% 0 2% 0 !important;
    }


 }
