#gallery .upload-image-video {
    min-height: 523px;
}
#gallery .image-video-tab {
    background: #f3f4f6 none repeat scroll 0 0;
    height: 57px;
    padding: 0 40px;
    position: relative;
}
#gallery .image-video-tab h2 {
    background: rgba(0, 0, 0, 0) url("../images/cloud.png") no-repeat scroll left center;
    color: #3582b5;
    float: right;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
    margin-right: 292px;
    margin-top: 14px;
    padding-left: 40px;
}
#gallery .image-video-content {
    background: #fff none repeat scroll 0 0;
    height: 480px;
    overflow: hidden;
    padding: 0;
}
#gallery .image-video-tab .nav-tabs {
    border: medium none;
    float: left;
    margin-top: 16px;
}
#gallery .image-video-tab .nav-tabs li {
    margin-right: 10px;
}
#gallery .image-video-tab .nav-tabs li a {
    background: #d5d9e0 none repeat scroll 0 0;
    border: medium none !important;
    border-radius: 30px;
    box-shadow: 0 3px 0 #caced5 inset;
    color: #95979c;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 18px;
    transition: all 0.3s ease 0s;
}
#gallery .image-video-tab .nav-tabs li a span {
    color: #95979c;
    margin-right: 5px;
}
#gallery .image-video-tab .nav-tabs li.active a span {
    color: #fff;
}
#gallery .image-video-tab .nav-tabs li a[aria-controls="Image"] {
}
#gallery .image-video-tab .nav-tabs li a[aria-controls="Video"] {
}
#gallery .image-video-tab .nav-tabs li.active a {
    background: #2ecc71 none repeat scroll 0 0;
    box-shadow: 0 3px 0 #2cc26b inset;
    color: #fff;
}
#gallery .image-video-content .tab-content {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    float: left;
    /*height: 484px;*/
    padding: 0 8px;
    width: 100%;
}
#gallery .image-video-content .tab-content > div {
    height: 100%;
    margin-top: 0;
    position: relative;
    text-align: center;
    width: 100%;
}
#gallery .image-video-content .tab-content > div#Image {
}
#gallery .image-video-content .tab-content > div#Video {
    height: 440px;
    overflow: hidden;
}
#gallery .close-pop {
    background: #3582b5 url("../images/close.png") no-repeat scroll center center;
    border: medium none;
    height: 56px;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.2s ease 0s;
    width: 60px;
}
#gallery .close-pop:hover {
    background: #4592c5 url("../images/close.png") no-repeat scroll center center;
}
#gallery .image-video-content .nav-tabs li a {
    -moz-border-bottom-colors: none !important;
    -moz-border-left-colors: none !important;
    -moz-border-right-colors: none !important;
    -moz-border-top-colors: none !important;
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border-color: -moz-use-text-color -moz-use-text-color #caced5 !important;
    border-image: none !important;
    border-style: none none solid !important;
    border-width: medium medium 2px !important;
    color: #caced5 !important;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    padding-left: 0;
    padding-right: 0;
}
#gallery .image-video-content .nav-tabs li.active a {
    border-bottom: 2px solid #2ecc71 !important;
    color: #2ecc71 !important;
}
#gallery .image-video-content .nav-tabs li {
    margin-right: 20px;
}
#gallery .image-video-content .nav-tabs {
    border: medium none;
    margin-bottom: 11px;
}
#gallery #image-myGallery {
}
#gallery #image-myGallery select {
}
#gallery .image-video-content .right-inner-addon {
    float: left;
    height: 31px;
    margin-left: 10px;
    width: 170px;
}
#gallery .image-video-content .right-inner-addon input {
    border: 1px solid #caced5;
    box-shadow: none;
    color: #5a5e65;
    font-size: 12px;
    height: 34px;
    width: 100%;
}
#gallery .image-video-content .right-inner-addon span {
}
#gallery .contain-select-categories {
    float: left;
}
#gallery .right-inner-addon {
    position: relative;
}
#gallery .right-inner-addon button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: #ced2d8;
    font-size: 14px;
    pointer-events: none;
    position: absolute;
    right: 7px;
    top: 4px;
}
#gallery .upload-image-video .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #caced5;
}
#gallery .upload-image-video .select2-container--default .select2-selection--single > span {
    color: #787c83;
    font-size: 12px;
    line-height: 29px;
}
#gallery .choose-media {
    border-top: 1px solid #e2e2e2;
    list-style: outside none none;
    margin-top: 6px;
    overflow: hidden;
    padding: 8px 0 0;
    width: 740px;
    margin-left: 17px;
}
#gallery .choose-media li {
    border: 1px solid #efefef;
    border-radius: 4px;
    cursor: pointer;
    float: left;
    height: 100px;
    margin-bottom: 14px;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
    text-align: center;
    transition: all 0.15s ease 0s;
    vertical-align: middle;
    width: 100px;
}
#gallery .edit-media-modal .logo-media-cont {
    height: auto !important;
    overflow-y: auto;
}
#gallery .choose-media li a img {
	max-width: 100px;
	max-height: 100px;
	height: unset;
	width: unset;
}
#gallery .choose-media li:last-child {
    margin-right: 0;
}
#gallery .edit-media-modal .video-container-gallery{
    width: 540px;
    height: 280px;
    background-color: #f1f1f1;
    display: inline-block;
    margin-top: 10px;
}
#gallery .choose-media li:hover,#gallery .images-Video-border {
    border: 1px solid #3498db !important;
    border-radius: 4px !important;
}
#gallery #image-myGallery .choose-media, #gallery #video-myGallery .choose-media {
    border: medium none;
}
#gallery #video-AddVideo label {
    color: #64666a;
    float: left;
    font-size: 12px;
    font-weight: 600;
    margin-top: 20px;
}
#gallery #video-AddVideo input {
    float: left;
    height: 37px;
    margin-top: 8px;
    width: 75%;
}
#gallery .edit-media-modal .choose-media a{
    height:100%;
    width: 100%;
}
#gallery .done-choose-media, #gallery .save-video-button, #gallery .insert-media-image-button {
    background: #fff none repeat scroll 0 0;
    border-top: 1px solid #efefef;
    bottom: 0;
    height: 71px;
    left: 0;
    position: absolute;
    width: 100%;
}
#gallery .done-choose-media button, #gallery .save-video-button button, #gallery .insert-media-image-button button {
    background: #2ecc71 none repeat scroll 0 0;
    border: medium none;
    border-radius: 2px;
    color: #fff;
    float: right;
    font-size: 14px;
    font-weight: 600;
    height: 36px;
    margin-right: 40px;
    margin-top: 16px;
    transition: all 0.15s ease 0s;
    width: 92px;
}
#gallery .done-choose-media button:hover, #gallery .save-video-button button:hover,#gallery  .insert-media-image-button button:hover {
    background: #3edc81 none repeat scroll 0 0;
}
#gallery #Video .choose-media li:hover .play-style {
    background: rgba(0, 0, 0, 0) url("../images/play-video.png") no-repeat scroll center center;
}
#gallery .modal-footer {
    padding: 14px 16px;
    text-align: center;
}
#gallery .media-filter{
    position: absolute;
    right: 0;
    top: 0;
    width: 380px;
}
#gallery .media-filter > div {
    margin-top: 15px;
}
#gallery .add-Media {
    background: #3582b5 url("../images/cloud-button.png") no-repeat scroll left 9% top 60%;
    border: medium none;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    height: 27px;
    line-height: 24px;
    padding-left: 35px;
    padding-right: 10px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: -38px;
    transition: all 0.2s ease 0s;
}
#gallery .add-Media:hover {
    background: #4592c5 url("../images/cloud-button.png") no-repeat scroll left 9% top 39%;
    color: #fff;
    text-decoration: none;
}
#gallery .image-video-content ul.nav-tabs {
    margin-bottom: 17px;
    padding: 0 20px;
}
#gallery  input[type="file"] {
    display: block;
}
#gallery .crop-container {
    height: 252px;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    width: 560px;
}
#gallery .upload-style {
    height: 27px;
    position: absolute;
    right: 65px;
    top: 0;
    width: 130px;
    top: 16px;
}
#gallery .upload-style > div {
    height: 100%;
    position: relative;
    width: 100%;
}
#gallery .upload-style input {
    box-shadow: none;
    cursor: pointer;
    font-size: 20px;
    height: 100%;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
#gallery .upload-style .add-Media {
    position: absolute;
    right: 0;
    top: 0;
}
#gallery #Video .play-style {
    left: 30px;
    top: 35px;
}
#gallery .play-style {
    background: rgba(0, 0, 0, 0) url("../images/play-video.png") no-repeat scroll center center;
    height: 34px;
    left: 30px;
    opacity: 0.3;
    position: absolute;
    top: 180px;
    transition: all 0.1s ease 0s;
    width: 34px;
}
#gallery .everything,#gallery .everything-video,#gallery .image-myGallery{
    height: 305px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
}
#gallery .modal-lg{
	/*width:844px;*/
}
#gallery .modal-footer {
    background-color: #dddddd;
}
#gallery .upload-style{
	display: none;
}
#gallery .crop-container {
    height: 252px;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    width: 780px;
}
#gallery .crop-actions.actions .btn-group{
    margin: 2px;
}
#gallery ul{
    list-style-type: none;
}
#gallery .ratio-action ul{
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 10px;
    direction: ltr;
    min-height: 20px
}
#gallery .ratio-action ul li {
    border-right: 1px solid #ccc;
    padding: 0px 5px;
    display: inline-block;
    float: right;

}
#gallery .ratio-action ul li span{
    margin-right: 5px;
    font-size: 11px;
    font-weight:  bold;
}
#gallery .ratio-action ul li a{
    display: inline-block;
    background-color: #ccc;
    margin-right: 5px;

}
#gallery .ratio-action ul li a:hover,#gallery .ratio-action ul li .aspect-btn.active{
    background-color: #43a0de;
    cursor: pointer;
}
#gallery .ratio-action ul li a.ratio-square{
    height: 10px;
    width: 10px;
}
#gallery .ratio-action ul li a.ratio-square6{
    height: 10px;
    width: 40px;
}
#gallery .ratio-action ul li a.ratio-square16{
    height: 10px;
    width: 20px;
}
#gallery .ratio-action ul li a.ratio-square9{
    height: 20px;
    width: 10px;
    margin-top: -8px
}
#gallery .ratio-action ul li a.ratio-square4{
    height: 15px;
    width: 12px;
    margin-top: -3px
}
#gallery .ratio-action ul li a.ratio-square3{
    height: 12px;
    width: 15px;
    /*margin-top: -8px*/
}
#gallery .ratio-action a{
    border: none !important;
    border-radius: 0px !important;
}
#gallery .rotate-ico{
    height: 18px !important;
    width: 15px !important;
    border: none !important;
    border-radius: 0px !important;
}
#gallery .ratio-action ul li a.ratio-circle{
    height: 10px;
    width: 10px;
    border-radius: 5px !important;
}
#gallery .ratio-action ul li:first-child{
    border: 0px
}
#gallery .ratio-action ul li .rotate-ico{
    background: transparent;
    color: #ccc;
    cursor: pointer;
}
#gallery .ratio-action ul li .rotate-ico:hover{
    background: transparent;
    color: #43a0de
}
#gallery .blue-t{
    color: #43a0de
}
#gallery .ratio-action{
    width: 92%;
    margin-right: 20px;
}
#gallery .switchcon{
    float: left;
    width: 17%;
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
}
#gallery .switchcon .blue-t{
    font-weight: bold;
    font-size: 11px;
    margin: 0px 5px
}
#gallery .ratio-action hr{
    margin: 16px 0px
}
#gallery .rotate-ico{
    background: transparent;
    color: #ccc;
    cursor: pointer;
}
#gallery .rotate-ico:hover{
    background: transparent;
    color: #43a0de
}
#gallery .parallex-cont{
    /*margin-left: 20px;*/
    margin-top: 20px;
}
#gallery .iconcolor-cont{
    margin-top: 20px;
}
#gallery .parallex-cont .blue-t,#gallery .iconcolor-cont .blue-t{
    font-weight: bold;
    font-size: 11px;
    margin-left:20px;
    float:left;
    line-height:21px;
}
#gallery .onoffswitch {
    width: 60px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: absolute;
    top: -1px;
    left: 73px;
}
#gallery .onoffswitch label {
    margin-bottom: 5px;
}
#gallery .onoffswitch-checkbox {
    display: none
}
#gallery .onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border-radius: 15px
}
#gallery .onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    -moz-transition: margin .3s ease-in 0s;
    -webkit-transition: margin .3s ease-in 0s;
    -o-transition: margin .3s ease-in 0s;
    transition: margin .3s ease-in 0s
}
#gallery .onoffswitch-inner:after, #gallery .onoffswitch-inner:before {
    display: block;
    float: left;
    width: 50%;
    height: 23px;
    padding: 0;
    line-height: 23px;
    font-size: 10px;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: 700;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 8px;
}
#gallery .onoffswitch-inner:before {
    content: "ON";
    padding-right: 15px;
    background-color: #3498db;
    color: #FFF
}
#gallery .onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #606060;
    color: #F2F6FA;
    text-align: right
}
#gallery .onoffswitch-switch {
    display: block;
    width: 15px;
    margin: 4px;
    background: #FFF;
    border: 2px solid #F2F6FA;
    border-radius: 180px;
    position: absolute;
    top: 0;
    bottom: 5px;
    right: 37px;
    -moz-transition: all .3s ease-in 0s;
    -webkit-transition: all .3s ease-in 0s;
    -o-transition: all .3s ease-in 0s;
    transition: all .3s ease-in 0s
}
#gallery .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0
}
#gallery .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 6px;
}
#gallery #icon_color {
    cursor: pointer;
}
#gallery .iconcolor-cont a{
    width: 17px;
    height: 21px;
    display: inline-block;
    cursor: pointer;
    margin-left: 3px;
    /*margin-top: 10px;*/
    position: relative;
    z-index: 99999
}
#gallery .parallex-cont a{
    width: 17px;
    height: 21px;
    background: url("../images/parallex.png") top;
    display: inline-block;
    cursor: pointer;
    margin-left: 3px;
    /*margin-top: 10px;*/
    position: relative;
    z-index: 99999
}
#gallery .parallex-cont a.top-ico{
    background-position: top left;
}
#gallery .parallex-cont a.bottom-ico{
    background-position: top right;
}
#gallery .parallex-cont a.bottom-ico:hover,#gallery .parallex-cont a.bottom-ico.active{
    background-position: bottom right;
}
#gallery .parallex-cont a.top-ico:hover, .parallex-cont a.top-ico.active{
    background-position: bottom left;
}
#gallery .ratio-action{
    height: 25px;
}
#gallery a.rotate-ico:hover{
    border: none !important;
}
#gallery #choose-media-btn{
    background: #2ecc71 none repeat scroll 0 0;
    border: medium none;
    border-radius: 2px;
    color: #fff;
    float: right;
    font-size: 14px;
    font-weight: 600;
    height: 36px;
    margin-right: 0;
    margin-top: 16px;
    transition: all 0.15s ease 0s;
    width: 92px;
}
#gallery .cropper-circle {
    border-radius: 50% !important;
}
#gallery .link-container {
    width:540px;
    margin:0 auto;
}
#gallery .link-container .form-control {
    width:70%;
    display: inline-block;
}
#gallery .link-container .checkbox {
    width:84.5%;
    margin: 0 auto;
}
#gallery .link-container .checkbox label {
    font-size:11px;
    font-weight:700;
}
#gallery .link-container .youtube-preview {
    color: #fff;
    background-color: #3edc81;
    border: none;
    border-radius: 2px;
    margin-top: -2px;
}
#gallery #autoplayyoutube, #gallery #parallaxSwitch {
    margin-top:2px;
}
#gallery .parallex-cont .checkbox label {
    font-size:11px;
    font-weight:700;
}
#gallery .parallex-cont .checkbox {
    margin: 0;
}
#gallery .media-filter {
    display: none;
}
#gallery #image-IconsGallery .choose-media li,
#gallery #image-FlatGallery .choose-media li{
    height: 100px;
    width: 100px;
	/*background: url("../images/trans.png") repeat;*/
}
#gallery .modal-dialog {
    margin: 15px auto;
}
#gallery .iconWrap svg {
    margin-top:25%;
}
/*remove double border*/
#gallery a.images-Video-border {
    border:none !important;
}
#gallery .choose-media li.active {
    border: 2px solid #0E5A0E;
}

#gallery #video-CurrentVideo iframe{
    margin: 0 auto auto !important;
}
#gallery .edit-media-modal .choose-media a{
    display: inherit !important;
}
