/*
===========================================================================
 EXCLUSIVE ON themeforest.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Project Name       : T-Shirt Designer
 Author             : Ismail Bin Dawud
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Copyright (c) 2017 -  Ismail Bin Dawud - https://codecanyon.net/user/nivodev
===========================================================================
 Content Table
===========================================================================
[1] General
[2] preview and reset area
[3] t-shirt design area
[4] right help area
[5] left design tool
[6] front-back button section
[7] product modal
[8] preview image modal
===========================================================================
*/

/* ====================
[1] General
==================== */

*{
	margin: 0;
	padding: 0;
}

.clear_fix{
	overflow: auto;
}



/* ====================
[2] preview and reset area
==================== */
.canvas_edit_tool{
	text-align: left;
    background: #FAFAFA;
    padding: 8px 20px;
    width: 208px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    margin: 20px auto;
}

.canvas_edit_tool a,
.canvas_edit_tool a:hover{
    color: #616161;
    margin-right: 40px;
    text-decoration: none;
}

.canvas_edit_tool a:last-child{
    margin-right: 0;
}

.canvas_edit_tool span{
    margin-left: 3px;
}


/* ====================
[3] t-shirt design area
==================== */
.design_area{
	margin: 0 auto;
	position: relative;
	width: 504px;
	height: 504px;
}

.canvas_area_front,
.canvas_area_back{
    position: absolute;
    width: 192px;
    height: 200px;
    top: 65%;
    left: 50%;
    margin: -151px 0 0 -96px;
}

.canvas_area_back{
	display: none;
}

.design_area canvas{
    border: 1px dashed #757575;
}


/* ====================
[4] right help area
==================== */
.help_area{
    display: inline-block;
    background-color: #f1f1f1;
    padding: 6px 20px;
    text-align: center;
    position: absolute;
    top: 100px;
    right: 20px;
}

.help_window_wrapper{
    position: relative;
}

.help_window{
    visibility: hidden;
    padding: 9px 14px;
    position: absolute;
    top: -8px;
    right: 45px;
    width: 250px;
    background-color: #fff;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 9px 1px #CCCCCC;
}

.help_window::before{
    content: "";
    position: absolute;
    top: 22px;
    right: -20px;
    margin-left: -5px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent #555;
}

.help_window p{
    text-align: left;
}

.help_window p span{
    font-weight: bold;
    margin-left: 5px;
}


/* ====================
[5] left design tool
==================== */
.design_tool{
    position: absolute;
    display: inline-block;
    top: 100px;
    left: 20px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 9px 1px #CCCCCC;
}

.design_tool ul{
	list-style-type: none;
    margin: 0;
    padding: 0;
    width: 200px;
    background-color: #f1f1f1;
}

.design_tool ul li {
    border-bottom: 1px solid #CCCCCC;
}

.design_tool ul li:last-child {
    border-bottom: none;
}

.design_tool ul li a {
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
}

.design_tool ul li a span{
	margin-left: 16px;
}

.design_tool .add_text{
	position: relative;
}

.text_tool_window{
	padding: 9px 14px;
	visibility: hidden;
    position: absolute;
    top: -38px;
    left: 45px;
    width: 250px;
    background-color: #fff;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 9px 1px #CCCCCC;
}


/* Popup arrow */
.text_tool_window::before {
    content: "";
    position: absolute;
    top: 45px;
    left: -15px;
    margin-left: -5px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #555 transparent transparent;
}


/* Toggle this class - hide and show the popup */
.help_area .show,
.add_text .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

.help_area a,
.help_area a:hover{
    color: #000;
    text-decoration: none;
}


/* animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

.help_window .header,
.text_tool_window .header{
	border-bottom: 1px solid #9E9E9E;
    padding-bottom: 5px;
}
.help_window .title,
.text_tool_window .title{
	float: left;
}

.help_window #close_help_window,
.text_tool_window #close_window{
	float: right;
}

.text_tool_window .font_area{
	float: left;
}

.text_tool_window .color_area{
	float: right;
}

.font_area p,
.color_area p,
.font_style p{
    margin-bottom: 10px;
}

#text_area, .wrapper,
.font_style, .font_size
{
    margin-top: 0px;
}

.text_tool_window #text_area{
    overflow: hidden;
    height: 50px;
    width: 100%;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #BDBDBD;
}

.text_tool_window select{
	padding: 5px;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #9C9D98;
    border-radius: 3px;
    box-shadow: 0 2px 2px #CFD0CB inset, 0 2px 2px rgba(0, 0, 0, 0.2);
}

.color_area input{
    width: 27px;
    height: 30px;
    background: #fff;
    padding: 4px;
    border-radius: 3px;
}

/* ====================
[6] front-back button section
==================== */
.change_side{
	text-align: center;
    margin-top: 20px;
}

.change_side button{
	background-color: #e7e7e7;
    color: black;
    border: 0;
    padding: 16px 32px;
    margin: 4px 2px;
    /*modifica css per alzare rispetto alla fine sezione i pulsanti retro e fronte*/
    position: relative;
    bottom: 20px;
}

/* ====================
[7] product modal
==================== */
.product_details{
	float: left;
    width: 270px;
    text-align: center;
}

.product_details img{
    width: 250px;
}


/* ====================
[8] preview image modal
==================== */
#previewModal .modal-body{
    text-align: center;
}

#previewModal .canvas_wrapper{
    margin-bottom: 20px;
}

#previewModal .canvas-container{
    margin: 0 auto;
}

#back_preview{
    margin-top: 40px;
    margin-bottom: 40px;
}

#previewModal a,
#previewModal a:hover{
    text-decoration: none;
    color: #fff;
    background-color: #EF6C00;
    padding: 11px 16px;
    border-radius: 3px;
}

#previewModal a span{
    margin-left: 5px;
}

/*bottone personalizzato*/
.btn-default-left {
    color: #333;
    background-color: #fff;
    border-color: #ccc !important;
    float: left;
}

/*FOOTER PERSONALIZZATO*/
.footer {
   /*position: fixed;*/
   left: 0;
   bottom: 0;
   width: 100%;
   color: white;
   text-align: center;
}
/*  LOGO FOOTER BANDIERE */
.footer-logo-bandiera {
	border-radius: 50%;
	width: 30px;
  height: 30px;
	transition: 0.4s;
	border: 5px solid transparent;
}
.footer-logo-bandiera:hover {
	opacity: 0.8;
	transition: 0.3s;
	border-color: #d7767b;
}

/*PERSONALIZZAZIONI MAILCHIMP FORM*/

label {
    color:#f44336;
}

#mc_embed_signup .mc-field-group {
    width: 56% !important;
    left: 21% !important;
    padding-bottom: 0% !important;
}

#mc_embed_signup .button {
    clear: both;
    background-color: #d8757a;
    color: #FFFFFF;
    font-size: 25px;
}

#mc_embed_signup .button {
    clear: both;
    background-color: #d8757a !important;
    border: 0 none;
    border-radius: 4px;
    transition: all 0.23s ease-in-out 0s;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 25px !important;
    font-weight: normal;
    height: 62px !important;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: 260px !important;
    position: relative;
    right: 38% !important;
}

 /* styles for tab browsers smaller than 800px; */
@media (max-width: 800px){
    .design_tool ul li a span{
        display: none;
    }
    .design_tool ul{
        width: auto;
    }
}


/*RESPONSIVE MOBILE PORTRAIT*/
@media screen and (max-width: 425px) and (orientation: portrait){
    #removeonmobile {
        display: none;
    }

    #removeonmobile2 {
        display: none;
    }


#logo img {
    float: left;
    max-width: 120px;
    margin-top: 30px;
    margin-left: 10px;
}

.responsive-nav .meanmenu-reveal > a {
    color: #323232;
    cursor: pointer;
    display: block;
    font-size: 1px;
    font-weight: 700;
    height: 22px;
    line-height: 22px;
    padding: 37px 50px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
    width: 22px;
    z-index: 9999;
}


/*SLIDER MOBILE*/

/*
    #slide2mobile   {
    background-image: url("slide2mobile.jpg") !important;
    z-index: 17 !important;
    }
*/


}
/* VERTICALE IPAD*/

@media screen and (max-width: 768px) and (min-width: 426px) and (orientation: portrait) {

    #logo {
    top: -10px !important;
    zoom: 70% !important;
    right: -36px !important;
    }

    .is-sticky #logo img {
    margin-top: 13px;
    max-width: 100px;
    zoom: 150%;
    }
}



@media screen and (max-width: 667px) and (orientation: landscape) {
   /*reso responsive il logo in mobile landscape*/
    .is-sticky #logo img { margin-top: 9px; }
    /*menu mobile assottigliato in mobile landscape*/
    .meanmenu-reveal ul li a {
    padding: 3px 3%;
}

}
