/*carte de voeux ccc architecture crée par essidhaithem@gmail.com */
body {
    background-color: #000;
}

html {
    /* overflow: hidden; */
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ccc-consulting-button {
    background: -webkit-linear-gradient(133deg, #8ec63f 0%, #466021 49%, #312f32 100%) !important;
    background: linear-gradient(135deg, #8ec63f 0%, #466021 49%, #312f32 100%) !important;
    width: 112px !important;
}

.ccc-architecture-button {
    background: -webkit-linear-gradient(135deg, #00adef 0%, #306e86 49%, #312f32 100%) !important;
    background: linear-gradient(135deg, #00adef 0%, #306e86 49%, #312f32 100%) !important;
    width: 112px !important;
}

.ccc-expertise-button {
    background: -webkit-linear-gradient(135deg, #fef200 0%, #787211 49%, #312f32 100%) !important;
    background: linear-gradient(135deg, #fef200 0%, #787211 49%, #312f32 100%) !important;
    width: 112px !important;
}

.ccc-design-button {
    background: -webkit-linear-gradient(135deg, #e02634 0%, #84111a 49%, #312f32 100%) !important;
    background: linear-gradient(135deg, #e02634 0%, #84111a 49%, #312f32 100%) !important;
    width: 112px !important;
}

.ccc-info-button {
    background: -webkit-linear-gradient(135deg, #ffffff 0%, #6f6f6f 49%, #312f32 100%) !important;
    background: linear-gradient(135deg, #ffffff 0%, #6f6f6f 49%, #312f32 100%) !important;
    width: 112px !important;
}

.square-flip {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -webkit-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    transform: perspective(1000px);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    /*border:1px solid #efefef;*/
    position: relative;
    float: left;
    margin: 0.5px;
}

.square-flip {
    width: 220px;
    height: 220px;
}

.square,
.square2 {
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.3) !important;
    width: 100%;
    height: 100%;
}

.square {
    background-size: cover;
    background-position: center center;
    -ms-transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    -webkit-transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    overflow: hidden;
    position: absolute;
    top: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.square-flip .square {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    z-index: 1;
}


/*.square-flip:hover .square{
-webkit-transform: rotateY(-180deg);
-moz-transform: rotateY(-180deg);
-o-transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg);
transform: rotateY(-180deg);
transform-style: preserve-3d;
}
*/

.square2 {
    background-size: cover;
    background-position: center center;
    -ms-transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    -webkit-transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    overflow: hidden;
    position: absolute;
    top: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.square-flip .square2 {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    z-index: 1;
}


/*.square-flip:hover .square2{
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
-ms-transform: rotateY(0deg);
transform: rotateY(0deg);
transform-style: preserve-3d;
}*/


/*Square content*/

.square-container {
    padding: 40px;
    text-align: center;
    position: relative;
    top: 50%;
    -ms-transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    -webkit-transition: transform 0.60s cubic-bezier(.5, .3, .3, 1);
    -webkit-transform: translateY(-50%) translateX(0px) scale(1);
    -ms-transform: translateY(-50%) translateX(0px) scale(1);
    transform: translateY(-50%) translateX(0px) scale(1);
    transform-style: preserve-3d;
    z-index: 2;
}


/**.square-flip:hover .square-container{

-webkit-transform: translateY(-50%) translateX(-650px)  scale(.88);
-ms-transform: translateY(-50%) translateX(-650px)  scale(.88);
transform: translateY(-50%) translateX(-650px)  scale(.88);
transform-style: preserve-3d;

}**/

.square-container2 {
    padding: 38% 0 0 0;
    text-align: center;
    position: relative;
    z-index: 2;
}


/*Style text*/

.square-flip h2 {
    color: white;
    font-family: "Open Sans";
    font-weight: 700;
    font-size: 22px;
}

.square-flip h3 {
    color: white;
    font-family: "Open Sans";
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
}


/*Elements*/

.flip-overlay {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.align-center {
    margin: 0 auto;
}

.kallyas-button {
    display: block;
    width: 160px;
    padding: 15px 0;
    font-family: "Open Sans";
    font-weight: 600;
    color: #fff;
    background: #FF2024;
    margin: 0 auto;
    border-radius: 2px;
    text-decoration: none !important;
    background: #ffa067;
    background: -moz-linear-gradient(-45deg, #ffa067 0%, #ff2959 49%, #ff2024 100%);
    background: -webkit-linear-gradient(-45deg, #ffa067 0%, #ff2959 49%, #ff2024 100%);
    background: linear-gradient(135deg, #ffa067 0%, #ff2959 49%, #ff2024 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffa067', endColorstr='#ff2024', GradientType=1);
}

.kallyas-button:hover,
.kallyas-button:focus {
    color: #fff !important;
}


/*ADD SHADOWS OPTIONAL*/

.square-flip .square .boxshadow,
.square-flip .square .textshadow,
.square-flip .square2 .boxshadow,
.square-flip .square2 .textshadow {
    -ms-transition: 0.60s;
    transition: 0.60s;
    -webkit-transition: 0.60s;
}

.square-flip .square .boxshadow {
    -webkit-box-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
    box-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
}

.square-flip .square .textshadow {
    -webkit-text-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
    -moz-text-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
    text-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
}

.square-flip:hover .square .boxshadow,
.square-flip:hover .square .textshadow {
    -webkit-box-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
    -moz-box-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
    box-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
}

.square-flip .square2 .boxshadow {
    -webkit-box-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
    -moz-box-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
    box-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
}

.square-flip .square2 .textshadow {
    -webkit-text-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
    -moz-text-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
    text-shadow: 240px 42px 58px -8px rgba(0, 0, 0, 0.0);
}

.square-flip:hover .square2 .boxshadow,
.square-flip:hover .square2 .textshadow {
    -webkit-box-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
    box-shadow: 24px 42px 58px -8px rgba(0, 0, 0, 0.3);
}


/*You can delete this style*/

.centerflipcards {
    display: block;
    width: 100%;
    /* height: 440px; */
    text-align: center;
    margin: 0 auto;
    /* margin-top: 25px; */
}

.clearfix {
    clear: both;
}

.centerflipcards p {
    font-family: "Open Sans";
    font-size: 13px;
    margin-top: 10px;
    font-weight: 700;
}


/* --------------------------------
*
*Main Content style
*
*-------------------------------- */

main {
    display: block;
    padding: 2em 5%;
    text-align: center;
}

p {
    margin: 2em 0;
    line-height: 1.6;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media only screen and (min-width: 768px) {
    main {
        padding: 4em 10%;
    }
    p {
        font-size: 1.8rem;
        line-height: 2;
    }
}

@media only screen and (min-width: 1170px) {
    main {
        padding: 4em 20%;
    }
}


/* --------------------------------
*
*Modal Window
*
*-------------------------------- */

.morph-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    color: white;
}

.morph-modal.open-modal {
    opacity: 1;
    visibility: visible;
}

.modal-content,
.close-modal {
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    z-index: 2;
}

.modal-visible .modal-content,
.modal-visible .close-modal {
    opacity: 1;
}

.modal-content {
    position: relative;
    height: 100%;
    overflow: auto;
    padding: 40px 20%;
    background: #312f32;
    border-radius: 0 !important;
}

.close-modal:focus {
    outline: none !important;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    /* replace text with image */
    height: 56px;
    width: 56px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: none;
    text-indent: 100%;
    overflow: hidden;
    color: transparent;
    white-space: nowrap;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

.close-modal::before,
.close-modal::after {
    /* this is the 'X' arrow */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    width: 24px;
    background: #FFF;
}

.close-modal::before {
    -webkit-transform: translate(-50%) rotate(45deg);
    transform: translate(-50%) rotate(45deg);
}

.close-modal::after {
    -webkit-transform: translate(-50%) rotate(-45deg);
    transform: translate(-50%) rotate(-45deg);
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.6);
}


/* --------------------------------
*
*Modal Trigger and morphing background
*
*-------------------------------- */

.morph-btn,
.morph-background {
    display: inline-block;
    background-color: #231f20;
    height: 45px;
    line-height: 45px;
    width: 170px;
}

.morph-btn {
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
}

.morph-background {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

@media (min-width: 992px) {
    .container {
        /*padding: 26%;
        -ms-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        position: absolute;
        top: -0.6%;
        left: 50%;*/
        z-index: 101;
        perspective: 1000px;
        display: block;
        height: 100%;
        width: 100%;
    }
    .col-md-2 {
        padding: 0;
    }
    .col-md-4 {
        width: 32%;
        padding: 0;
        left: 15px;
    }
}

.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 5%;
    line-height: 1.42857143;
    background-color: transparent;
    border: none;
    border-radius: 0;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.ccc31 {
    margin: -16% 0 0 0;
    padding: 10%;
}

div#glam {
    position: relative;
    z-index: 1111111;
    overflow: visible;
    width: 100%;
    height: 100%;
}

.effect.acteffect {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: visible;
}


/**@media (min-width: 992px){

#ccc2{margin-left:-30%;}

}

/* --------------------------------
*
* Bootstrap modification
*
*-------------------------------- */

.container {
    padding-right: unset;
    padding-left: unset;
    margin-right: unset;
    margin-left: unset;
    width: 100% !important;
}

.row {
    margin-right: unset;
    margin-left: unset;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding-right: unset;
    padding-left: unset;
}