.container{width: 980px;}
@font-face {
    font-family: 'Muli';
    font-weight: normal;
    src:  url('../fonts/Muli-Regular.ttf') format('truetype')
}

.shadow{-webkit-box-shadow:0px 4px 3px rgba(0, 0, 0, 0.2);-moz-box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.2);box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.2);}

body{font-family: 'Muli', sans-serif;color: rgba(44, 62, 80,1.0);}

.bg{
    background: rgb(214, 4, 9);
    background: -webkit-linear-gradient(90deg, rgba(181, 1, 1, 0.8) 10%,rgba(181, 1, 1, 0.8) 40%,rgba(181, 1, 1, 0.8) 70%, rgba(181, 1, 1, 0.8) 90%), url(../img/7_3.png) repeat 50% 30% fixed;
    background: -moz-linear-gradient(90deg, rgba(181, 1, 1, 0.8) 10%, rgba(181, 1, 1, 0.8) 40%,rgba(181, 1, 1, 0.8) 70%, rgba(181, 1, 1, 0.8) 90%), url(../img/7_3.png) repeat 50% 30% fixed;
    background: linear-gradient(90deg, rgba(181, 1, 1, 0.8) 10%, rgba(181, 1, 1, 0.8) 40%,rgba(181, 1, 1, 0.8) 70%, rgba(181, 1, 1, 0.8) 90%), url(../img/7_3.png) repeat 50% 30% fixed;
    background: -o-linear-gradient(90deg, rgba(181, 1, 1, 0.8) 10%, rgba(181, 1, 1, 0.8) 40%,rgba(181, 1, 1, 0.8) 70%, rgba(181, 1, 1, 0.8) 90%), url(../img/7_3.png) repeat 50% 30% fixed;
}
body, html {height: 80%;}
#outer {height: 100%; overflow: visible; position: relative;}
#outer[id] {display: table; position: static;}
#middle {position: absolute; top: 50%;} /* for quirk explorer only*/
#middle[id] {display: table-cell; vertical-align: middle; width: 100%; position: static;}
#inner {position: relative; top: -50%;width:100%; margin: 2em auto 1.5em;} /* for quirk explorer only */

a:hover{text-decoration: none;}

#toTop{position: fixed;bottom: 10px;right: 10px;cursor: pointer;display: none;}
/* vertical alignment styles */
.col-top {vertical-align: top;}
.col-middle {vertical-align: middle;}
.col-bottom {vertical-align: bottom;}
/* columns of same height styles */
.row-full-height {height: 40%; margin-bottom: 0.5em;}
.col-full-height {height: 100%;vertical-align: top;}
.row-same-height {display: table;width: 100%; /*fix overflow */table-layout: fixed;}
.col-xs-height {display: table-cell;float: none !important;}

.transparentbox{
    display: table;padding: 0.6em 0.5em; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.6);
    -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;
    -webkit-transition: background 1s ease-in-out; -moz-transition: background 1s ease-in-out;
    -ms-transition: background 1s ease-in-out;-o-transition: background 1s ease-in-out; transition: background 1s ease-in-out;
}
.transparentbox h3{ font-weight: 300;margin-bottom: 0.5em; margin-top: 0}
.transparentbox img{ width: 100%;}
.transparentbox .table-striped > tbody > tr:nth-of-type(odd) {background-color: rgba(249,249,249,0.5);}
.transparentbox .table > tbody > tr > td {border-bottom: 1px solid rgba(127, 140, 141,0.3);border-top:none;}
.transparentbox .well {
    padding: 30px;
    background: none;
    border: none;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.05);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.05);
}
.transparentbox .form-group{margin-bottom: 10px;}
s.dropdown-menu{background-color:rgba(236, 240, 241,0.7);}
.modal-content {background-color: rgba(255, 255, 255, 0.95);}

.pad5{padding: 0 3px;}

.logo img{padding:0 1em; max-width: 155px; max-height: 155px;min-width: 50px; min-height: 50px;}
.logo h1{
    font-size:3.15em;color: rgb(67, 90, 107);font-weight: 700;
    -o-text-overflow: clip;text-overflow: clip;
    text-shadow: 2px 15px 3px rgba(0,0,0,0.04) , -1px 20px 5px rgba(0,0,0,0.04) ;
    display: inline-block;position: relative; perspective: 900px; z-index: 1;
}
.logo p{color:rgba(52, 73, 94,0.8); font-size: 1.3em;font-weight: 900;letter-spacing: 2px;}
.logo h1 span:before,.logo h1 span:after {
    position: absolute; content: attr(data-letter);line-height: inherit; top: 0; left: 0; right: 0; bottom: 0; z-index: 2;
    -webkit-transition: all .3s; transition: all .3s;
}
.logo h1 span:after {-webkit-transform: rotateX(15deg); -ms-transform: rotateX(15deg);transform: rotateX(15deg);}
.logo h1:hover{color: rgba(52, 73, 94,0.9);letter-spacing: 1px; text-shadow: 2px 15px 3px rgba(0,0,0,0.04) , -1px 20px 5px rgba(0,0,0,0) ;}

figure {overflow: hidden;cursor: pointer;}
figure img {opacity: 0.9;}
figure figcaption {padding: 2em;color: #fff;text-transform: uppercase;font-size: 1em;-webkit-backface-visibility: hidden; backface-visibility: hidden;}
figure figcaption::before,figure figcaption::after {pointer-events: none;}
figure figcaption,figure figcaption > a {position: absolute;top: 0;left: 0; width: 100%;height: 100%;}
figure figcaption > a {z-index: 1000;text-indent: 200%;white-space: nowrap;font-size: 0;opacity: 0;}
figure h2 {word-spacing: -0.15em;font-weight: 300; font-size: 27px;}
figure h2 span {font-weight: 800;}
figure h2,figure p {margin: 0;}
figure p {letter-spacing: 1px;font-size: 68.5%;}
figure figcaption a, figure figcaption a:hover{color: #fff;text-decoration: none;}

figure.effect-milo {background: #2e5d5a;}
figure.effect-milo img {-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;transition: opacity 0.35s, transform 0.35s;height: 240px;}
figure.effect-milo:hover img {opacity: 0.4;-webkit-transform: scale3d(2,2,1);transform: scale3d(2,2,1);}
figure.effect-milo h2,figure.effect-milo h2 > a {position: absolute;right: 0;bottom: 0;padding:2em;}
figure.effect-milo p {
    padding: 0 10px 0 0;width: 50%;border-right: 1px solid #fff;text-align: right;opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-40px,0,0);transform: translate3d(-40px,0,0);}
figure.effect-milo:hover p {
    opacity: 1;-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}


figure.effect-moses {background: #303fa9;}
figure.effect-moses img {height: 240px;
    opacity: 0.9;-webkit-transition: opacity 0.35s;transition: opacity 0.35s;}
figure.effect-moses h2,figure.effect-moses p {padding: 10px;width: 55%;height:45%;}
figure.effect-moses h2 {
    text-align: left;
    -webkit-transition: -webkit-transform 0.35s;transition: transform 0.35s;
    -webkit-transform: translate3d(10px,10px,0);transform: translate3d(10px,10px,0);}
figure.effect-moses p {
    float: right;text-align: right;opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-50%,-50%,0);    transform: translate3d(-50%,-50%,0);}
figure.effect-moses:hover h2 {-webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);}
figure.effect-moses:hover p {opacity: 1; -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);}
figure.effect-moses:hover img {opacity: 0.6;}

figure.effect-ruby { background-color: #17819c;}
figure.effect-ruby img {
    opacity: 0.6;height: 240px;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;  transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1.15);transform: scale(1.15);}
figure.effect-ruby:hover img {opacity: 0.5;-webkit-transform: scale(1); transform: scale(1);}
figure.effect-ruby h2 {
    margin-top: 20%;
    -webkit-transition: -webkit-transform 0.35s; transition: transform 0.35s;
    -webkit-transform: translate3d(0,20px,0); transform: translate3d(0,20px,0);}
figure.effect-ruby p {
    margin: 1em 0 0; padding: 1em; border: 1px solid #fff; opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,20px,0) scale(1.1); transform: translate3d(0,20px,0) scale(1.1);} 
figure.effect-ruby:hover h2 { -webkit-transform: translate3d(0,0,0);  transform: translate3d(0,0,0);}
figure.effect-ruby:hover p { opacity: 1; -webkit-transform: translate3d(0,0,0) scale(1);transform: translate3d(0,0,0) scale(1);}

figure.effect-marley figcaption {text-align: right;}
figure.effect-marley h2{
    position: absolute;right: 30px;left: 30px;padding: 10px 0;}

figure.effect-marley h2 {font-size: 25px;
    top: 30px; -webkit-transition: -webkit-transform 0.35s; transition: transform 0.35s;
    -webkit-transform: translate3d(0,20px,0);transform: translate3d(0,20px,0);}

figure.effect-marley:hover h2 {
    -webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}

figure.effect-marley h2::after {
    position: absolute;top: 100%;left: 0;width: 100%;height: 4px;background: black;
    content: ''; -webkit-transform: translate3d(0,40px,0);transform: translate3d(0,40px,0);}

figure.effect-marley h2::after{
    opacity: 0;-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;transition: opacity 0.35s, transform 0.35s;}

figure.effect-marley:hover h2::after{opacity: 1;-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}


.cl-effect  a {
    position: relative;display: inline-block;
    outline: none;color: #fff;text-decoration: none;text-transform: uppercase;letter-spacing: 1px;
    font-weight: 600; text-shadow: 0 0 1px rgba(255,255,255,0.3); font-size: 0.9em;}
.cl-effect a:hover, cl-effect  a:focus {outline: none;}
.cl-effect{position: relative;z-index: 1;}

.cl-effect-8 a {padding: 7px 20px;border-radius: 80px;}
.cl-effect-8 a::before,.cl-effect-8 a::after  {
    position: absolute;top: 0;left: 0;width: 100%;height: 100%;
    border: 3px solid rgba(255,255,255,0.3) ;border-radius: 80px;content: '';
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s; }
.cl-effect-8 a::after  {
    border-color: #fff;opacity: 0;
    -webkit-transform: translateY(-7px) translateX(6px);
    -moz-transform: translateY(-7px) translateX(6px);
    transform: translateY(-7px) translateX(6px);}
.cl-effect-8 a:hover::before,.cl-effect-8 a:focus::before {
    opacity: 0;
    -webkit-transform: translateY(5px) translateX(-5px);
    -moz-transform: translateY(5px) translateX(-5px);
    transform: translateY(5px) translateX(-5px);}
.cl-effect-8 a:hover::after,.cl-effect-8 a:focus::after  {
    opacity: 1;
    -webkit-transform: translateY(0px) translateX(0px);
    -moz-transform: translateY(0px) translateX(0px);
    transform: translateY(0px) translateX(0px);}

.cl-effect-6 a {padding: 5px 17px;}
.cl-effect-6 a::before { position: absolute;top: 0; left: 0;width: 100%;
                         height: 2px;background: #fff;content: '';
                         -webkit-transition: top 0.3s;-moz-transition: top 0.3s;transition: top 0.3s;}
.cl-effect-6 a::after {
    position: absolute;top: 0;left: 0;width: 2px;height: 2px; background: #fff;    content: '';
    -webkit-transition: height 0.3s; -moz-transition: height 0.3s; transition: height 0.3s;}
.cl-effect-6 a:hover::before {top: 100%; opacity: 1;}
.cl-effect-6 a:hover::after {height: 100%;} 

#quote-carousel {padding: 0; margin-top: 0px;}
#quote-carousel .carousel-control { background: none;font-size: 1.05em;text-shadow: none;}
#quote-carousel .carousel-control.left {left: -40px;}
#quote-carousel .carousel-control.right {right: -40px;}
#quote-carousel .item p{ font-size: 0.95em; font-weight: 700;letter-spacing: 1px;color:rgba(236, 240, 241,1.0); }

.ttl {font-weight: 400; letter-spacing: 2px;border-bottom: 3px solid rgba(44, 62, 80,0.7);}
.ttl span {font-weight: 800;}
.card{width: 250px; height: 350px; border: 2px solid rgba(231, 76, 60,1.0);margin: 0 auto;}
.card2{border: 2px solid rgba(231, 76, 60,0.5);width:225px; height: 325px; margin: 10px;}

.btn-midnight {color: #fff;background-color: rgba(44, 62, 80,0.7);border-color: rgba(44, 62, 80,0.7);font-weight: 600;}
.btn-turquoise {color: #fff;background-color: rgba(26, 188, 156,0.7);border-color: rgba(26, 188, 156,0.7);font-weight: 600;}
.btn-sun {color: #fff;background-color: rgba(241, 196, 15,0.7);border-color: rgba(241, 196, 15,0.7);font-weight: 600;}
.btn-peter {color: #fff;background-color: rgba(52, 152, 219,1);border-color: rgba(52, 152, 219,1.0);font-weight: 600;}
.btn.focus, .btn:focus, .btn:hover{color:#fff;}

.btn2 {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    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: 2px solid transparent;
    border-radius: 20px;
}

.popover {position:relative;display: block;padding: 0;width: auto;max-width: 95%;}
.popover-content{padding: 6px 14px;}