/*----------------------------------------------*/
/*      REFERENCES                              */
/*----------------------------------------------*/

/* Orange color = #e67e22
/* Yellow = light #e7b417 dark #d8a816
/* Blue = light #00bebe dark #00bebe super dark #00bebe
/* Purple = light #cf00e2 dark #bd00cf
/* Green = light #67e200 dark #52b400 super dark #489d00
/* Red = light #ef0c2f dark #e00b2c


/*----------------------------------------------*/
/*    BASIC SETUP                               */
/*----------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.clearfix {zoom: 1}
.clearfix:after {
    content: '.';
    clear:both;
    display: block;
    height: 0;
    visibility: hidden;
}

/*----------------------------------------------*/
/*    REUSABLE COMPONENTS                       */
/*----------------------------------------------*/

section {
    padding: 80px 0;
}

.row {
    max-width: 1140px;
    margin: 0 auto;
}

.box {
    padding: 1%;
}

/*--------HEADINGS---------*/
h1,
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
    
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    margin-bottom: 30px;
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    letter-spacing: 1px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: #00bebe;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}



/*--------PARAGRAPHS---------*/
.long-copy {
    line-height: 140%;
    width: 70%;
    margin-left: 15%;
}

.box p{
    font-size: 90%;
    line-height: 145%;
}

/*--------ICONS---------*/
.icon-big {
    font-size: 350%;
    display: block;
    color: #00bebe;
    margin-bottom: 10px;
}

.icon-small{
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #00bebe;
    font-size: 120%;
    margin-right: 10px;
    
    /* secrets to align text and icons */
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}


/*--------BUTTONS---------*/
.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    -webkit-transition: background-color 0.5s, border 0.5s, color 0.5s;
    transition: background-color 0.5s, border 0.5s, color 0.5s;
}

.btn-full:visited,
.btn-full:link,
input[type=submit] {
    background-color: #00bebe;
    border: 1px solid #00bebe;
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #00bebe;
    color: #00bebe;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #bd00cf;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #bd00cf;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #bd00cf;
    color: #fff;
}


/*--------LINKS---------*/
a:link,
a:visited {
    color: #00bebe;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #00bebe;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #555;
    border-bottom: 1px solid transparent;
}


/*----------------------------------------------*/
/*    HEADERS                                    */
/*----------------------------------------------*/

.main-header {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7))), url(img/hero.jpeg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/hero.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}

.page-header {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7))), url(img/moodle_boy.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/moodle_boy.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 55vh;
}

.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-text-box-page {
    position: absolute;
    width: 1140px;
    top: 32%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 100%;
    color: #fff;
}

.hero-text-box h2 {
    text-align: left;
    color: #fff;
    
}

.logo {
    height: 100px;
    width: auto;
    float: left;
    margin-top: 20px;
}

.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.5s;
    transition: border-bottom 0.5s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #00bebe;
}



/*----------------------------------------------*/
/*    FEATURES                                    */
/*----------------------------------------------*/
.section-features .long-copy {
    margin-bottom: 30px;
}


/*----------------------------------------------*/
/*    triangle                                     */
/*----------------------------------------------*/
.section-triangle {
    padding: 0;
}

.triangle-showcase {
    list-style: none;
    width: 100%;
}

.triangle-showcase li {
    display: block;
    float: left;
    width: 25%;
}

.triangle-photo {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.triangle-photo img {
    opacity: 0.7;
    width: 100%;
    height: auto;
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.triangle-photo img:hover {
    opacity: 1;
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
}

/*----------------------------------------------*/
/*    HOW IT WORKS                              */
/*----------------------------------------------*/
.section-schema {
    background-color: #fff;
}

.steps-box:first-child {
    text-align: center;
    padding: 0%;
    margin-top: 0px;    
}

/*.steps-box:last-child {
    padding-left: 3%;
    margin-top: 90px;
}
*/

.trm-schematic {
    width: 100%;
    height: auto;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.trm-area {
    
}

.trm-schematic:hover {
    opacity: 1;
    -webkit-transform: scale(1.00);
    transform: scale(1.00);
}

.works-step {
    margin-bottom: 50px;
}

.works-step:last-of-type {
    margin-bottom: 80px;
}

.works-step div {
    color: #00bebe;
    border: 2px solid #00bebe;
    display: inline-block;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    text-align: center;
    padding: 5px;
    float: left;
    font-size: 150%;
    margin-right: 25px;
}

.btn-app:link,
.btn-app:visited {
    border: 0;
}

.btn-app img {
    height: 50px;
    width: auto;
    margin: 10px;
}

/*----------------------------------------------*/
/*    PRACTICE                                    */
/*----------------------------------------------*/

.section-practice {
     background-color: #fafafa;
}

.box {
    font-size: 75%;
    padding-top: 40px;
    text-align: center;
}

.box:first-child {
    text-align: left;
}

.box img {
    width: 40%;
    height: auto;
    display: block;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.package-feature {
    margin-bottom: 10px;   
    
}

/*----------------------------------------------*/
/*    TRM ACADEMY                                    */
/*----------------------------------------------*/


.intro-box {
    font-size: 90%;
    padding-top: 30px;
    
}


/*----------------------------------------------*/
/*    TESTIMONIALS                              */
/*----------------------------------------------*/
.section-testimonials {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0,0,0,0.7))), url(img/background_testimonials.jpeg);
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(img/background_testimonials.jpeg);
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
}

blockquote {
    padding: 2%;
    font-style: italic;
    line-height: 145%;
    position: relative;
    margin-top: 40px;
}

blockquote:before {
    content: "\201C";
    font-size: 500%;
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
}

cite {
    font-size: 90%;
    margin-top: 25px;
    display: block;
}

cite img {
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}


/*----------------------------------------------*/
/*    ABOUT US                               */
/*----------------------------------------------*/
.section-us {
    background-color: #f4f4f4;
}

.section-us img {
    width: 30%;
    height: auto;
    padding-top: 20px;
    padding-left: 20px;

}

.us-box {
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    margin-left: 5%;
    -webkit-box-shadow: 0 2px 2px #efefef;
    box-shadow: 0 2px 2px #efefef;
}

.us-box p {
    text-align: justify;
    font-size: 90%;
    padding: 10px;
}

.us-box div {
    padding: 15px;
    border-bottom: #f2f2f2;
}

.us-box div:first-child {
    background-color: #fcfcfc;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.us-box div:last-child {
    text-align: center;
    border: 0;
}

.plan-price {
    font-size: 300%;
    margin-bottom: 10px;
    font-weight: 100;
    color: #00bebe;
}

.plan-price span {
    font-size: 30%;
    font-weight: 300;
    color: #00bebe;
}

.plan-price-meal {
    font-size: 80%;
}

.us-box ul{
    list-style: none;
}

.us-box ul li {
    padding: 5px 0;
}


/*----------------------------------------------*/
/*    CONTACT FORM                              */
/*----------------------------------------------*/
.contact-form {
    width: 60%;
    margin: 0 auto;
}


input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

textarea {
    height: 100px;
}

input[type=checkbox] {
    margin: 10px 5px 10px 0;
}

*:focus {
    outline: none;
}

.contact-form p{
    font-size: 80%;
}


/*----------------------------------------------*/
/*    BOOK SECTION                              */
/*----------------------------------------------*/

.section-books {
    background-color: #f4f4f4;
}

.section-books img {
    width: auto;
    height: 250px;
    padding-top: 20px;
    padding-left: 20px;

}

.books-break-row h2 {
    padding-top: 80px;
    font-size: 140%;
}

.books-box {
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    margin-left: 5%;
    -webkit-box-shadow: 0 2px 2px #efefef;
    box-shadow: 0 2px 2px #efefef;
}

.books-box p {
    text-align: justify;
    font-size: 95%;
    padding: 10px;
    line-height: 140%;
}

.books-box div {
    padding: 15px;
    border-bottom: #f2f2f2;
}

.books-box div:first-child {
    background-color: #fcfcfc;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.books-box div:last-child {
    text-align: center;
    border: 0;
}


.books-box ul{
    list-style: none;
}

.books-box ul li {
    padding: 5px 0;
}

.books-box a:link,
.books-box a:visited {
    color: #000;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: none;
}

.books-box a:hover,
.books-box a:active {
    color: #cf00e2;
}


.books-sub {
    
    border-radius: 5px;
    width: 75%;
    padding-bottom: 50px;
    margin-left: 12.5%;
    -webkit-box-shadow: 0 2px 2px #efefef;
    box-shadow: 0 2px 2px #efefef;    
}

/*----------------------------------------------*/
/*    FOOTER                                    */
/*----------------------------------------------*/
footer {
    background-color: #333;
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
    margin-right: 0;
}

.footer-nav li a:visited,
.footer-nav li a:link,
.social-links li a:visited,
.social-links li a:link {
    text-decoration: none;
    border: 0;
    color: #888;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: #ddd;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 160%;    
}

.ion-social-facebook,
.ion-social-twitter,
.ion-social-googleplus.
.ion-social-instagram {
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.ion-social-facebook:hover {
    color: #3b5998;
}

.ion-social-twitter:hover {
    color: #55acee;
}

.ion-social-googleplus:hover {
    color: #dd4b39;
}

.ion-social-instagram:hover {
    color: #8a3ab9;
}

footer p {
    text-align: center;
    color: #888;
    margin-top: 20px;
}

/*----------------------------------------------*/
/*    SCHEMA                                    */
/*----------------------------------------------*/



.diagram-container {
    
    height: 550px;
    border: 0;
    padding: 5px;
    background-image: url(img/triangle_background.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center; 
    
}

.schema-box:hover {
    opacity: 0.9;
    transform: scale(1.3);
}

.schema-box {
    width: 100%;
    height: 63px;
    text-align: center;
    border: solid 5px;
    border-color: #989898;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background-color: #dbdbdb;
    opacity: 0;
    transition: opacity 0.5s;
}

.schema-box p {
    font-size: 50%;
    color: #1f1f1f;
    margin-left: 10px;
    margin-right: 10px;
}


.section-placeholder {
    display: none;
}



